Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Java to Exe !


  • Please log in to reply

#1
Eduu

Eduu

    Member

  • Member
  • PipPip
  • 11 posts
Hi everyone,

Does anyone know how can i save .java Files as .exe files

Is there any program for this and how does it work?
Are there any simple methods?
Is JVM neccessary on the computer on wich i want to run the .exe (previously .java)?


p.s if someone doesnt understand what i want to know here is an explanation

i make a HelloWorld program, now i want to save it as .exe files so that i can just click on it and it will display HELLO WORLD (or whatever i compile)

Thanks.
  • 0

Advertisements


#2
Hai Mac

Hai Mac

    Member

  • Member
  • PipPipPip
  • 260 posts
Hello Eduu,

Java will never be .exe, since Java is supposed to be platform independent. Since .exe is a WINDOWS binary file, it is not possible :tazz:.
JVM is neccesary otherwise it could not be run.

You have to pre-compile the .java file into a .jar file. That's as far as you can go :).
  • 0

#3
Swandog46

Swandog46

    Malware Expert

  • Member
  • PipPipPipPip
  • 1,026 posts
  • MVP
Sort of. :tazz:

See:
http://www.excelsior...ava-to-exe.html
http://gcc.gnu.org/java/
  • 0

#4
Eduu

Eduu

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
thnx guys :tazz:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP