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
Problem running Minecraft in Java (Solved)
- dalebednell
- Posts: 120
- Joined: Fri 12 Feb 2010, 09:44
- Location: portugal
- Contact:
Problem running Minecraft in Java (Solved)
Last edited by dalebednell on Tue 05 Feb 2013, 21:29, edited 1 time in total.
It needs to bejava jar minecraft.jar
Code: Select all
java -jar minecraft.jar
- dalebednell
- Posts: 120
- Joined: Fri 12 Feb 2010, 09:44
- Location: portugal
- Contact:
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
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
I always see -* as a switch >> http://man.yolinux.com/cgi-bin/man2html ... nd=java(1)