aplikasi eprocurement bappenas

found these messages in wrapper.log :

Launching a JVM…
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
JVM exited while loading the application.

use these following steps to solve the problem above :

find a file named unpack or unpack200 in your jdk1.6.0 directory. usually in lib or bin, then do this :

$ cd /usr/local/src/jdk1.6.0/jre/lib

$ /usr/local/src/jdk1.6.0/bin/unpack200 rt.pack rt.jar

$ /usr/local/src/jdk1.6.0/bin/unpack200 charsets.pack charsets.jar

$ /usr/local/src/jdk1.6.0/bin/unpack200 deploy.pack deploy.jar

$ /usr/local/src/jdk1.6.0/bin/unpack200 javaws.pack javaws.jar

$ /usr/local/src/jdk1.6.0/bin/unpack200 jsse.pack jsse.jar

$ /usr/local/src/jdk1.6.0/bin/unpack200 plugin.pack plugin.jar

now try running your application again, it should works fine now.


: bad interpreter: No such file or directory

if you ever see this following message when tried to run a sh or bash script :

: bad interpreter: No such file or directory

then you should do this to fix it :

$ vi filename.sh

inside vi editor give this command :

:set fileformat=unix


then try to run it again…. it should works now….

source : http://www.diegobelotti.com/?q=bash_bad_interpreter