I have made a program in BlueJ using several attributes such as Arrays, Strings etc. I want to know a way in which I can execute this program in any Windows based application or any other platform than BlueJ so that it can be used by people. Any ideas?
shaswat.j
0
Newbie Poster
Recommended Answers
Jump to Postyou mean how to distribute it? create a .jar file, that way, your application can be run on clicking it. (that is, provided the jre is present and installed, of course. no jvm? no running java application)
Jump to PostDoes your jar file have a correct manifest file with a Main-Class: entry? You will need that to execute a jar file with the java -jar option.
What error message do you get if you open a command prompt, change to the folder with the jar file and enter:
java …
All 7 Replies
stultuske
1,116
Posting Maven
Featured Poster
shaswat.j
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
shaswat.j
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
shaswat.j
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
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.