I am designing a project in java.I am mostly done with the code.
I need to know how to convert my java code into .exe file?
pls reply soon.

Thanks in advance.

Recommended Answers

All 3 Replies

second that.
an EXE file is a windows executable, which totally ruins the whole platform-independancy offered by Java.

if you get the choice, stick to .jar files, if your client prefers to receive an exe, I was in that position once, and found that NativeJ is an easy to use application for this.
you create your jar, and based on that you can easily generate an exe file, but I recommend you don't delete the jar file afterwards

Be a part of the DaniWeb community

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