Whats wrong?
As I said, gcc can probably do it. I would ask why though. A decent, modern JVM can do some pretty neat optimizations at runtime which a static compiler just cannot do.
You have to compile your code into a .jar file.
Here is a tutorial: http://www.horstmann.com/bigj/help/compiler/tutorial.html
Btw: Google is the programmers main tool.
You find many good tutorials, Q&A sections and documentations for java related stuff, try finding them with google, they will help you with many problems and questions you encounter in your programming life.
Here is a tutorial: http://www.horstmann.com/bigj/help/compiler/tutorial.html
Btw: Google is the programmers main tool.
You find many good tutorials, Q&A sections and documentations for java related stuff, try finding them with google, they will help you with many problems and questions you encounter in your programming life.
Google is the programmers main tool.
Not to mention Youtube, in a limited sense.
I want to get rid of the JVM completely
Why?
btw im really noob
[/quote]
Okay, so in that case you don't to get rid of the JVM. Just launch4j if you want to create an exe. Otherwise, you can still just execute .jar files (hell, I think Minecraft still works this way doesn't it?).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement