Jump to content

How do i make a jar file?

- - - - -

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

#1
poter

poter

    Newbie

  • Members
  • Pip
  • 3 posts
How do i make a .jar file that will run on any computer with java installed?
like an .exe for C++?
can i do that for Java?
I use JGrasp to compile as a .java file and run as a .class file if that helps at all

#2
morefood2001

morefood2001

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,720 posts
I would strongly recommend downloading eclipse classic for java at Eclipse.org home

It has an export option and select jar click next, and make sure to specify the starter class. You can also use java native compilers to accomplish making an exe that will run without the jre but these will cost you $.

Hope this helps :)

#3
navghost

navghost

    Newbie

  • Members
  • PipPip
  • 17 posts
There is very simple way how make a execute jar file:
http://forum.codecal....html#post91711
"Work should be challenging and the challenge should be fun. Great just isn't good enough!"