Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 05:55
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Problem running Minecraft in Java (Solved)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
dalebednell


Joined: 12 Feb 2010
Posts: 119
Location: portugal

PostPosted: Mon 04 Feb 2013, 14:47    Post_subject:  Problem running Minecraft in Java (Solved)  

Hi
Got a little problem with java

sh-4.1# java jar minecraft.jar
Exception in thread "main" java.lang.NoClassDefFoundError: jar
Caused by: java.lang.ClassNotFoundException: jar
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: jar. Program will exit.
sh-4.1# last time i used every thing worked well.
Does any one have any idea what to do here Rolling Eyes

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website MSNM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9203
Location: Stratford, Ontario

PostPosted: Mon 04 Feb 2013, 14:52    Post_subject:  

Quote:
java jar minecraft.jar

It needs to be
Code:
java -jar minecraft.jar

Note the dash character.
Back to top
View user's profile Send_private_message 
dalebednell


Joined: 12 Feb 2010
Posts: 119
Location: portugal

PostPosted: Tue 05 Feb 2013, 17:28    Post_subject: java  

Hi
Thanks for your help yes it did work your way but strange it work ok for me before the way i put it's ok thanks
Back to top
View user's profile Send_private_message Visit_website MSNM 
Semme

Joined: 07 Aug 2011
Posts: 3972
Location: World_Hub

PostPosted: Tue 05 Feb 2013, 21:56    Post_subject:  

I always see -* as a switch >> http://man.yolinux.com/cgi-bin/man2html?cgi_command=java(1)
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0558s ][ Queries: 12 (0.0172s) ][ GZIP on ]