(01-01-2015 18:03)alexinc Wrote: hi guys,
i'm trying to get rid of the crappy firmware my medion nas came with and switched over to openwrt! of course i cant live without minimserver and i couldnt imagine that getting java on openwrt would be that tricky.
i managed to build my own firmware including jamvm 1.6 as java runtime, but noticed its based on java 1.5 so i guess/hope my only problem is now to get jamvm 2.0 running on openwrt as it supports the latest java versions.
can you confirm that following error is just caused by old java runtime or do i have to edit various path variables?
root@NAS-Server:/# /usr/bin/jamvm /usr/share/minimserver/minimserver-0.8.3/bin/startc
Exception in thread "main" java.lang.NoClassDefFoundError: /usr/share/minimserver/minimserver-0/8/3/bin/startc
<<No stacktrace available>>
Caused by: java.lang.ClassNotFoundException: .usr.share.minimserver.minimserver-0.8.3.bin.startc not found in java.lang.ClassLoader$1{urls=[file://./], parent=null} at java.net.URLClassLoader.findClass(URLClassLoader.java:531) at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112) at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
any other idea how we could minimserver into openwrt world? 
cheers!
Your command line:
/usr/bin/jamvm /usr/share/minimserver/minimserver-0.8.3/bin/startc
is wrong. This isn't caused by the oild version of Java.
To fix the command-line problem, you need to put a link to /usr/bin/jamvm with the name "java" somewhere in your PATH, for example:
ln -s /usr/share/jamvm /usr/local/bin/java
To check this has worked, type the command:
java -version
To launch MinimServer, type the command:
/usr/share/minimserver/bin/startc