Linux: ./wuala doesn't work
When I use the provided shell script to start, I get the following error message:
$./wuala
Using config file /home/thomaska/.config/wualarc
Unable to access jarfile ./loader.jar
running wuala through java -jar ./loader.jar works fine though ...
What might be the problem? The $JAVA variable is set right, when I echo the start command, I get
/usr/bin/java -jar ./loader.jar
which works fine when copy-pasting it to the command line.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?That's strange. Does removing the ./ from ./loader.jar in the script help? To be honest, I have no idea why the script fails on your system but manually starting the loader works...
btw: I recommend to add the argument -Xmx256M in the script:
$JAVA -Xmx256M -jar ./loader.jar $*
Otherwise, Wuala crashes when downloading large files. For some reason it wasn't in the script any more. I've just added it to the latest version again.
I’m confused.
2 people say
this answers the question
-
Inappropriate?Ah ... my mistake. I forgot to copy the jar file to the wuala directory, and tried to start it from the local install directory. Everything works fine now.
Sorry to bother you. I found the taking a closer look at the script and there was the line cd $WUALADIR ...
1 person says
this answers the question
-
Inappropriate?Yeah, thx for the tipp ;-> I've also forgot to copy the loader.jar file to the WUALADIR.
@Luzius: Maybe its a good idea, to write this in the readme.txt
I’m happy
-
Inappropriate?I cannot get the loader to work
~/Desktop/wuala$ java -Xmx256M -jar loader.jar
Updating to version 65 ....java.lang.RuntimeException: java.lang.NoClassDefFoundError: com.wuala.obfuscated.rO
at com.wuala.loader.Loader.run(Loader.java:69)
at com.wuala.loader.Loader.main(Loader.java:134)
Caused by: java.lang.NoClassDefFoundError: com.wuala.obfuscated.rO
at java.lang.Class.initializeClass(libgcj.so.81)
at com.wuala.platform.Wuala.launch2(Z:33)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at com.wuala.loader.starter.ReflectiveWrapper.invoke(ReflectiveWrapper.java:38)
at com.wuala.loader.starter.ApplicationWrapper.launch(ApplicationWrapper.java:19)
at com.wuala.loader.Loader.run(Loader.java:63)
...1 more
Caused by: java.lang.ClassNotFoundException: sun.reflect.generics.reflectiveObjects.NotImplementedException not found
at com.wuala.loader.starter.WualaClassLoader.findWualaClass(WualaClassLoader.java:51)
at com.wuala.loader.starter.WualaClassLoader.loadClass(WualaClassLoader.java:30)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at java.lang.Class.initializeClass(libgcj.so.81)
...6 more
Caused by: java.io.IOException: sun/reflect/generics/reflectiveObjects/NotImplementedException.class not found
at com.wuala.loader.loader.remote.RemoteCompilation.get(RemoteCompilation.java:38)
at com.wuala.loader.starter.WualaClassLoader.findWualaClass(WualaClassLoader.java:38)
...10 more
I’m frustrated
-
Inappropriate?@Digitalxero: Can you list you /root/.config/wualarc (instead of root your username for sure). In this file you define WUALADIR. is the loader.ar in this directory?
Has the loader.jar 755 rights? -
Inappropriate?WUALADIR=/home/digitalxero/Desktop/wuala/
JAVA=/usr/bin/java
yes the loader.jar is there
I try running via ./wuala I get the above error
I try via java -Xmx256M -jar loader.jar and I get the above error -
Inappropriate?Aha.
You don't have to do "java -Xmx256M -jar loader.jar"
Where do you have your wuala.tar.gz file extracted? There you will find a wualacmd file.
When you're in this dir, give in "./wualacmd"
--> And voilĂ ou have the wuala> prompt. When this appear, wuala is running
So easy -
Inappropriate?That gives the same java stack trace.
-
Inappropriate?Hi Digitalxero
What version of Java are you using? In case it is a version from another company than sun, the problem might be our use of the sun/reflect/generics/reflectiveObjects/NotImplementedException class which might not be available in other JVM. In that case, I'll replace them with an own
NotImplementedException which could resolve the problem. -
Inappropriate?java --version
java version "1.5.0"
gij (GNU libgcj) version 4.2.1 (Ubuntu 4.2.1-5ubuntu5) -
Inappropriate?Ok, I guess that's the cause of the problem. Wuala relies on something that is included in Sun's version of Java but not in the GNU version. I'll try to correct that with the next update. If you don't want to wait for the next update, you can also try installing Sun's Java.
-
Inappropriate?Ok installed java from sun but now it crashes with no error durring the update. When I do the GUI mode it always crashes when the updaters says item 1895. When I do the wualacmd I get
~/Desktop/wuala$ ./wualacmd
Using config file /home/digitalxero/.config/wualarc
Updating to version 66 .....................................Shutting down...
Error during shutdown -
Inappropriate?hello
i installes wuala as told in the readme txt
i extracted wuala to /home/dfutu/wuala
after that i installed portmap and added this line to fstab
localhost:/wuala /home/dutu/wuala/direct nfs defaults,users,noauto,rsize=8192,wsize=8192,timeo=14,intr
java version says
dutu@dutu-laptop:~/wuala$ java -version
java version "1.4.2-02"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-02)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-02, mixed mode)
also i did all that and exectuted ./wuala.cmd or wuala nothing happens
i also copied the loader to ./config
and im using ubuntu 7.10
dutu@dutu-laptop:~/wuala$ ./wuala
Using config file /home/dutu/.config/wualarc
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/wuala/loader/Loader (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
can someone help me fo fixx that?? -
Inappropriate?But for sure.
You have to update your java instance. It had to be 1.5 or later. in readme.txt:
"Make sure you have Java version 1.5 or later installed."
And then I think, it will run wunderfull ;->
Loading Profile...



EMPLOYEE


