You are not logged in.
I just updated my minecraft installation to the latest version, but now the client won't load. Running the command in a terminal gives the following error (after a long period of the computer thinking about it...)
$ minecraft
asdf
/usr/lib/jvm/java-7-openjdk/jre/lib/rt.jar: ZIP_Read: error reading zip file
Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/text/html/HTMLDocument
at javax.swing.plaf.basic.BasicEditorPaneUI.updateDisplayProperties(BasicEditorPaneUI.java:238)
at javax.swing.plaf.basic.BasicEditorPaneUI.propertyChange(BasicEditorPaneUI.java:180)
at javax.swing.plaf.basic.BasicTextPaneUI.propertyChange(BasicTextPaneUI.java:96)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(BasicTextUI.java:1785)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at java.awt.Component.firePropertyChange(Component.java:8382)
at javax.swing.text.JTextComponent.setDocument(JTextComponent.java:453)
at javax.swing.JTextPane.setDocument(JTextPane.java:136)
at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:797)
at javax.swing.plaf.basic.BasicEditorPaneUI.installUI(BasicEditorPaneUI.java:89)
at javax.swing.plaf.basic.BasicTextPaneUI.installUI(BasicTextPaneUI.java:81)
at javax.swing.JComponent.setUI(JComponent.java:655)
at javax.swing.text.JTextComponent.setUI(JTextComponent.java:338)
at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:348)
at javax.swing.text.JTextComponent.<init>(JTextComponent.java:322)
at javax.swing.JEditorPane.<init>(JEditorPane.java:197)
at javax.swing.JTextPane.<init>(JTextPane.java:90)
at net.minecraft.LoginForm$7.<init>(LoginForm.java:157)
at net.minecraft.LoginForm.getUpdateNews(LoginForm.java:157)
at net.minecraft.LoginForm.buildMainLoginPanel(LoginForm.java:194)
at net.minecraft.LoginForm.<init>(LoginForm.java:53)
at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:23)
at net.minecraft.LauncherFrame.main(LauncherFrame.java:167)
$I've been searching for any help on this, but no dice so far... any ideas?
Pertinent info:
$ pacman -Q minecraft minecraft-server
minecraft latest-18
minecraft-server 1:1.3.1-1
$ pacman -Q jre7-openjdk openal xorg-server-utils
jre7-openjdk 7.u5_2.2.1-1
openal 1.14-1
xorg-server-utils 7.6-3The server seems to load fine, but since I can't run the client I can't be certain.
Offline
Have you tried launching it directly?
java -Xmx1024m -Xms1024m -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrameAlmost looks like it might be a classpath issue. Something is missing or cannot be found as the first line of the error indicates:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/swing/text/html/HTMLDocumentAlso, do you have either of jdk7-openjdk or jre7-openjdk-headless installed?
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
Running directly results in the same error, and both jre's are installed.
$ pacman -Ss jre
extra/jre7-openjdk 7.u5_2.2.1-1 [installed]
Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs -Full
Java runtime environment - needed for executing Java GUI and Webstart programs
extra/jre7-openjdk-headless 7.u5_2.2.1-1 [installed]
Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs -
Minimal Java runtime - needed for executing non GUI Java programsOffline
I still have a hunch that there's something missing or a busted classpath somewhere. Try collecting the output from strace:
strace -e trace=open java -Xmx1024m -Xms1024m -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrameand post it here.
Also, it might be worth downloading an older version of the launcher. Here are the file details:
[gridlock:~]$ ls -al minecraft/minecraft.jar
-rw-r--r-- 1 bshelton bshelton 89406 Jul 24 2011 minecraft/minecraft.jar
[gridlock:~]$ md5sum minecraft/minecraft.jar
6e053e85cd4920f7aaf26c4455b50ce7 minecraft/minecraft.jarThere appear to be some downloads of it here.
Note to others: This is just the launcher. Distributing the launcher alone is probably a legal gray area (but I doubt Mojang cares). That said, you can't use the full version of Minecraft without first logging into a premium account. The launcher's responsibility then is to handle user authentication and downloading of Minecraft's data files after the user's account status is verified. There's also a 5 day premium trial now, I think. Be sure to verify the md5sum of it before running--there are undoubtedly cracked launchers around the Internet with the sole purpose of collecting your login details!
Last edited by Zancarius (2012-08-05 19:39:57)
He who has no .plan has small finger.
~Confucius on UNIX.
Offline