Jump to content

Class to Executable

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
haraldur

haraldur

    Learning Programmer

  • Members
  • PipPipPip
  • 50 posts
Ok, so im learning java, i have JDK and everything, i made a Java file and compiled it to Class file, then i was going to make it into a Executable but i didnt find any tutorial, how can i make a Class file in to a Executable File (.exe)?

#2
wim DC

wim DC

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,084 posts
With Java you don't create .exe but you create .jar files which can be run on any computer with the Java Runtime Environment installed on (JRE).

There is software that can turn the Jar into Exe tho...

#3
haraldur

haraldur

    Learning Programmer

  • Members
  • PipPipPip
  • 50 posts
Ok so i figured that out, but how can i change Class to Jar file?

#4
Roman Y

Roman Y

    Programmer

  • Members
  • PipPipPipPip
  • 189 posts
well if you're using any integrated development environment (IDE) such as Eclipse, there are usually an option under the tab "file" at the top that says export, So you may choose what file would you like to export the class as. But I can't really help you if you're going old-school and doing everything from the batch...