EmuNewz Network
Java.lang.NoClassDefFoundError MY Fix :D - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Java.lang.NoClassDefFoundError MY Fix :D (/showthread.php?tid=147521)



Java.lang.NoClassDefFoundError MY Fix :D - Kikoshi - 05-19-2013

The issue isn't the built by the site, is the jpcsp.jar Manifest File itself Sad
I've tried it from different JPCSP build sites, and nothing still. same issue as well

FIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIXED THE FKNG ERROR~

The Manifest File withing the folder of Meta-Inf Is broken, when it was built it had this :
Code:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.4
Created-By: 1.7.0_21-b11 (Oracle Corporation)
Main-Class: jpcsp.MainGUI
Class-Path: lib/lwjgl.jar lib/lwjgl_util.jar lib/jinput.jar lib/jgz-0.
2.jar lib/jide-oss-2.8.4.jar lib/log4j-1.2.15.jar lib/asm-all-4.0_RC1
.jar lib/jdom1.1.jar lib/jaxen-1.1.1.jar lib/commons-cli.jar lib/logb
ack-classic.jar lib/logback-core.jar lib/slf4j-api.jar lib/xuggle-xug
gler-noarch-5.4.jar lib/bcprov-jdk16-145.jar
X-COMMENT: Main-Class will be added automatically by build

The latest working built, has the manifest like this

Code:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.6.0_24-b24 (Sun Microsystems Inc.)
Main-Class: jpcsp.MainGUI
Class-Path: ../lib/jinput.jar ../lib/lwjgl_util.jar ../lib/lwjgl.jar .
./lib/javassist.jar ../lib/jgz-0.2.jar ../lib/jide-oss-2.8.4.jar ../l
ib/log4j-1.2.15.jar ../lib/asm-all-4.0_RC1.jar ../lib/jaxen-1.1.1.jar
  ../lib/jdom1.1.jar ../lib/xuggle-xuggler-noarch-5.4.jar ../lib/commo
ns-cli.jar ../lib/logback-classic.jar ../lib/logback-core.jar ../lib/
slf4j-api.jar ../lib/bcprov-jdk16-145.jar

So in other words, just replace the manifest with a working built, or edit the first lines where Lib starts, to

../lib/ect

There ya go Big Grin