Whats wrong?

Started by
17 comments, last by CalebHudson 11 years, 8 months ago
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.
Advertisement
Well im going to try both to see what the difference is :P
btw im really noob
i wrapped it in launchj4 but nothing happened when it opened :s
i even tried exporting as a runnable and it didnt launch
what do i 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.
Project: Project
Setting fire to these damn cows one entry at a time!
Google is the programmers main tool.


Not to mention Youtube, in a limited sense.

- Awl you're base are belong me! -

- I don't know, I'm just a noob -

thanks for the help guys :)

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?).
i dont know i wanted to sound smart

This topic is closed to new replies.

Advertisement