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 Fri 29 Aug 2014, 12:21
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 [4 Posts]  
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

Last edited by dalebednell on Tue 05 Feb 2013, 17:29; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 9059
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 poster's website MSN Messenger 
Semme

Joined: 07 Aug 2011
Posts: 3771
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 from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0416s ][ Queries: 11 (0.0033s) ][ GZIP on ]