• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running a jar file

 
Manish Hatwalne
Ranch Hand
Posts: 2595
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a self executing JAR file and it works fine on the machines we tested. However, the client reports that he is unable to run it on one particular machine and the opening dialog box of the app itself is not displayed. (JOptionPane dialog). We have told him to run it using following commnad -
>java -jar myapp.jar
But client reports that the app simply returns to the command prompt. If Java is not in the path, then perhaps it should be reported. What else could be causing this problem?
- Manish
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just tell them to unjar and run main class directly and see if that works...
regards
maulin
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have him type java -version in a command prompt to see if java is on the path. if it is, you will get back some text telling what version of java it found. If not, it should say something like "command not found"
Brian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic