September 15th, 2012, 01:59 AM
Cant run .jar file
Some time ago I installed winrar and then I could not open. Jar files anymore. I've tried to open it with javaw.exe but nothing happens. What to do?
September 15th, 2012, 07:50 AM
Do you get any error messages? Open a command prompt window, change directory to the one with the jar file and enter the command:
java -jar <THE JARFILENAME HERE>
Copy the contents of the command prompt window and paste it here.
September 15th, 2012, 03:12 PM
No nothing happens. How do I change the directory?
September 15th, 2012, 03:19 PM
Depends on the OS.
On windows use the cd command. For example:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Volume in drive D is Work
Volume Serial Number is 7CE8-AEC3
Directory of D:\JavaDevelopment\Testing
09/24/2011 09:46 AM <DIR> ForumQuestions
09/24/2011 09:45 AM <DIR> ForumQuestions2
09/24/2011 09:45 AM <DIR> ForumQuestions3
09/24/2011 09:43 AM <DIR> ForumQuestions4
09/24/2011 09:42 AM <DIR> ForumQuestions5
06/20/2012 02:06 PM <DIR> ForumQuestions6
09/15/2012 02:01 PM <DIR> ForumQuestions7
09/24/2011 09:40 AM <DIR> ForumQues_Ubuntu
09/24/2011 09:40 AM <DIR> Forum_CodeGuru
09/24/2011 09:40 AM <DIR> Forum_JavaForum
09/24/2011 09:40 AM <DIR> Forum_JavaRanch
0 File(s) 0 bytes
11 Dir(s) 55,972,106,240 bytes free
D:\JavaDevelopment\Testing>cd forumQuestins7 <<<<<< Misspelled
The system cannot find the path specified.