Hello everyone,

I am new to Java but know lot about other programming languages and experienced game developer. As Java is platform independent, we cannot compile it to .exe format and that's where my problem is. Suppose I have created a .java file and compiled it to .class file, then the users cannot run it. What I need to do to make the users run my program by simply double clicking a file?

Another question, is there any special software required for the end user to use my program compiled with java or java applet?

Thanks,
Nahiyan

Recommended Answers

All 2 Replies

Re: Distributing programs made with Java... 80 80

Package it as a jarfile.

See this and this. As always the Tutorials nearly always help, even with this.

commented: Clear concept +2
Re: Distributing programs made with Java... 80 80

Thanks a lot, too bad, I never peeped through these great tutorials.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.