Kann man Java auch kompilieren als EXE?
Also dass man es auf Windows ohne Java VM ausführen kann.
Also dass man es auf Windows ohne Java VM ausführen kann.
Hallo, Ich habe einen Fehler gemacht, als ich mein Microsoft Konto bereits hatte und mir danach noch ein Lokales Konto erstellt hatte, denn jetzt werden mir “zwei” Konten (Siehe “2. Bild”) im Sperrbildschirm angezeigt. Das Bild mit meinem Profilbild ist mein richtiges Konto, dass ich damals erstellt hatte vor Jahren als Microsoft Konto. Das untere…
Hallo, mein Traum ist es Spiele zu entwickeln (ja ich weiß es ist schwer) ich habe noch nie wirklich programmiert, und stehe zwischen 2 Sprachen. C# oder Python. Python soll einfacher sein, aber C# hat mehr mit spielentwickung zu tun (Unity und Godot) sollte ich erst Python lernen und dann C#, oder direkt mit dem…
Moin Weiß jemand wie man Fivem GTA V Server programmieren tut und ob man es auch mit Javascript machen kann oder eher nur mit c# oder c++ ich will es mal ausprobieren weil ich möchte damit vielleicht mein Geld Verdienen ich hatte zwar mal ein Kumpel denn konnte man auf einer Webseite bearbeitet wo man…
Hallo! Ich spiele mit dem Gedanken, mit dem Spielentwickeln anzufangen. Ich habe mich etwas erkundigt und bin auf 2 Game-Engines gestoßen, die für mich infrage kämen: Godot und Unity. Da ich nur in meiner Freizeit und ohne irgendwelche kommerziellen Absichten Spiele programmieren möchte, war es mir wichtig, eine kostenlose Game-Engine benutzen zu wollen. Ich habe…
Yeah, with GraalVM native, that’s pretty good: https://www.graalvm.org/latest/reference-manual/native-image/
But has certain limitations when programs work a lot with Reflection. Java is now a language that happens a lot at the runtime, and that with full intention.
It should therefore be considered in what cases of application it makes sense at all.
Yes, for example with GraalVM Native Image
A real .exe becomes difficult.
You’d have to put the Java VM in, be independent. This is legally problematic and simply doof.
So I would do it:
Take some programming language that can generate slender .exe that does not need any other runtime environments (e.g. C) again and thus implement this logic:
Compile and add to your program.
The same for Linux and MacOS
Now your program has an OS-native start file that can link your installation routine to.
If the user starts and Java is missing, he must runJavaInstallationGuide. If you think that’s user-friendly, he’ll get it.
For Christ’s sake. First, you can compile Java with Graal today quite well AOT. Secondly, there have long been good solutions in the JDK for the co-packing of JVMs in installation packages, so that such a hand-made pudding is not necessary (jlink, jpackage).
Must join the previous speakers. Languages without a framework are simply better suited for this.
RUST or GO would be my choice. C# needs the .NET framework again. I’ve been out for a few years, but isn’t that an integral part of Windows? Most have it on the computer because any program always uses it.
I don’t like Java personally, but that’s a matter of taste. The UIs always looked gruesome, and it has accused me that there were always conflicts with versions.
Are there reasonable GUI libraries for Go or Rust? I don’t know anyone who builds any GUI applications. Practically everything CLI or any services.
Conflict with what? Java was a favor according to the “DLL source” of the classic Win32 apps: pack all dependencies in the build if you like the JDK too, and there are no conflicts guaranteed. The JDK itself is just too religious backwards compatible, which was never the case at .net, for example, again the same madness as at the time.