In VB we could export all the code and make a standalone executable file. I was wondering how you did that in java with console/jframe based programs? I understand that an applet would have to be in a pages HTML, but as for the other types of applications, how are they done "stand alone"?

I've never been tought that but I'm sure something would enable this cus otherwise the programs are a bit useless.

Recommended Answers

All 3 Replies

There are third party compilers you can get to do this, but that completely defeats the
purpose of doing something in Java, because the end compiled programs are once again
platform dependent.

Create an executable jar file. There's no need for that other garbage.

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.