Exception in thread "main" java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher#478

Subscribe to Exception in thread "main" java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher 3 post(s), 3 voice(s)

 
Avatar gyaresu 1 post #1169

There are several threads on this error. None with a solution. Any help appreciated.

http://studios.thoughtworks.com/discussion/forums/4/topics/302
http://studios.thoughtworks.com/discussion/forums/4/topics/382

  1. cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=7.04
    DISTRIB_CODENAME=feisty
    DISTRIB_DESCRIPTION=”Ubuntu 7.04”
  1. java -version
    java version “1.6.0”
    Java™ SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot™ Client VM (build 1.6.0-b105, mixed mode, sharing)
  1. dpkg—get-selections |grep -i java
    java-common install
    sun-java5-bin deinstall
    sun-java5-jre deinstall
    sun-java6-bin install
    sun-java6-jdk install
    sun-java6-jre install
  1. cat nohup.out
    Exception in thread “main” java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher
  1. echo $JAVA_HOME blank
 
Avatar WPC Administrator 18 post(s) #1303

Hi, gyaresu:

Can you go to .install4j directory under the mingle install directory and check the files there?
Here is my list, if yours has difference can you show us?

drwxr-xr-x 10 wpc staff 340 Apr 22 10:59 .
drwxr-xr-x 19 wpc staff 646 Apr 21 17:05 ..
rw-r-r— 1 wpc staff 27532 Apr 21 17:05 MessagesDefault
rw-r-r— 1 wpc staff 10 Apr 21 17:05 firstrun
rw-r-r— 1 wpc staff 27532 Apr 21 17:05 i4j_extf_0_28u4hs.utf8
rw-r-r— 1 wpc staff 528 Apr 21 17:05 i4j_extf_1_28u4hs_16bfrl2.png
rw-r-r— 1 wpc staff 1101 Apr 21 17:05 i4j_extf_2_28u4hs_1h5fk40.png
rw-r-r— 1 wpc staff 19424 Apr 21 17:05 i4jparams.conf
rw-r-r— 1 wpc staff 853292 Apr 4 10:49 i4jruntime.jar
rw-r-r— 1 wpc staff 867 Apr 21 17:05 user.jar

cheers!

 
Avatar toddb 1 post #2940

Have you had any luck with this issue? I am having a related and then same problem:

echo $JAVA_HOME
/usr/java/jdk1.5.0_16

java -version
java version “1.5.0_16”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot™ Client VM (build 1.5.0_16-b02, mixed mode, sharing)

ls
app db lib mingle.properties
config INSTALL log MingleServer NOTICE

cd .install4j/
bash-3.2$ ls
i4j_extf_0_28u4hs.utf8 i4j_extf_3_28u4hs.gif i4jruntime.jar
i4j_extf_1_28u4hs_16bfrl2.png i4j_extf_4_28u4hs_xced32.png MessagesDefault
i4j_extf_2_28u4hs_1h5fk40.png i4jparams.conf user.jar

./MingleServer start
testing JVM in /usr/java/jdk1.5.0_16 …
./MingleServer: line 63: /u01/mingle_2_1/.install4j: Is a directory
Starting MingleServer
nohup: appending output to `nohup.out’

bash-3.2$ mv .install4j/ .install4j.bak
bash-3.2$ ./MingleServer start
testing JVM in /usr/java/jdk1.5.0_16 …
Starting MingleServer
nohup: appending output to `nohup.out’
bash-3.2$ cat nohup.out
Exception in thread “main” java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher