When I try to execute my jar file through the command prompt by typing:
java -jar myJar.jar
It returns an error message saying that it can not access the jar file. Why is this? myJar.jar is the exact name of my jar file.
joshSCH 1,062 Industrious Poster Banned
jwenting 1,889 duckman Team Colleague
joshSCH 1,062 Industrious Poster Banned
jwenting 1,889 duckman Team Colleague
joshSCH 1,062 Industrious Poster Banned
freesoft_2000 9 Practically a Master Poster
joshSCH 1,062 Industrious Poster Banned
freesoft_2000 9 Practically a Master Poster
joshSCH 1,062 Industrious Poster Banned
freesoft_2000 9 Practically a Master Poster
jwenting 1,889 duckman Team Colleague
freesoft_2000 9 Practically a Master Poster
joankim
Harvey_1 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
John Nataniel 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
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.