You are not logged in.
Pages: 1
Hello,
I`m using ArchLinux 64 bit and I want to use java. In detail I want to use www.topcoder.com(Competitions -> Algorithm) properly, but I can`t find how. I`ve already tried installing jre or openjdk6, but it didn`t work. How to do it?
Kamil
Last edited by kamil (2009-08-07 16:09:02)
Offline
ls -l /usr/lib/mozilla/plugins/
should have a symlink to:
/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/IcedTeaPlugin.so
Offline
I have this:
kamil | ~ :-> ls -l /usr/lib/mozilla/plugins/
razem 9324
lrwxrwxrwx 1 root root 62 lis 5 17:06 IcedTeaPlugin.so -> /usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/IcedTeaPlugin.so
-rwxr-xr-x 1 root root 9525320 lis 22 14:44 libflashplayer.so
lrwxrwxrwx 1 root root 40 paź 24 12:40 libnpsoplugin.so -> /opt/openoffice/program/libnpsoplugin.so
In Plugins in Firefox is IceadTea Web Browser Plugin and it's turn on, but topcoder.com still gives me "Java not found!" What's wrong?
Offline
Same thing is happening to me, but I can at least get it to work if I click download competition arena.
Then, open up a terminal and type "javaws whateverTheFileIsNamed"
and it'll work.
Cheers,
Alphalutra1
Offline
Then, open up a terminal and type "javaws whateverTheFileIsNamed"
and it'll work.
I really want to make it works, but I`ve this:
kamil | Download :-> javaws ContestAppletProd.jnlp
netx: Launch Error: Could not launch JNLP file. (java.lang.reflect.InvocationTargetException null) (java.lang.SecurityException Changing the SecurityManager is not allowed.)
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:372)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:600)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:364)
... 1 more
Caused by: java.lang.SecurityException: Changing the SecurityManager is not allowed.
at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:252)
at java.lang.System.setSecurityManager0(System.java:290)
at java.lang.System.setSecurityManager(System.java:281)
at com.topcoder.client.contestApplet.ContestApplet.<init>(Unknown Source)
at com.topcoder.client.contestApplet.runner.generic.main(Unknown Source)
... 6 more
Caused by:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:364)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:600)
Caused by: java.lang.SecurityException: Changing the SecurityManager is not allowed.
at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:252)
at java.lang.System.setSecurityManager0(System.java:290)
at java.lang.System.setSecurityManager(System.java:281)
at com.topcoder.client.contestApplet.ContestApplet.<init>(Unknown Source)
at com.topcoder.client.contestApplet.runner.generic.main(Unknown Source)
... 6 more
And what now?
//edit
I tried bin32-java and it gave me:
kamil | ~ :-> /opt/bin32-jre/jre/bin/javaws topcoder.jnlp
Naruszenie ochrony pamięci
or
kamil | ~ :-> /opt/bin32-jre/jre/bin/java topcoder.jnlp
Exception in thread "main" java.lang.NoClassDefFoundError: topcoder/jnlp
Caused by: java.lang.ClassNotFoundException: topcoder.jnlp
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: topcoder.jnlp. Program will exit.
Last edited by kamil (2008-12-04 16:56:00)
Offline
Try removing the OpenJDK java, install regular java (which does come for x86_64 - except for a browser plugin), and try the above again. OpenJDK still doesn't work with everything. I saw the same error above when I tried the javaws command and I have the OpenJDK installed. I'll let you try the regular java
Good luck!
Scott
Offline
I don`t have openjdk6 or icedtea6:
root | ~ :-> yaourt -Rs openjdk6
openjdk6 nie zostało znalezione, szukanie grupy...
błąd: 'openjdk6': nie znaleziono w bazie danych synchronizacji
root | ~ :-> yaourt -Rs icedtea6
icedtea6 nie zostało znalezione, szukanie grupy...
błąd: 'icedtea6': nie znaleziono w bazie danych synchronizacji
I also removed bin32-jre and now i have something like this:
kamil | ~ :-> javaws ContestAppletProd.jnlp
bash: javaws: command not found
I have only jre with come for x86_64.
Offline
Java Web Start isn't included in the 64 bit package yet. I know that the 64 bit plug-in will come with release 6u12. Maybe Web Start will too.
Offline
Since openjdk6 is the new icedtea6, you're screwed in that regard Your alternatives are openjdk from the AUR, which is 1.7.x (and apparently is not compiling right now...), and a 32-bit Firefox.
Offline
Only six years late, the 64 bit goods are almost here:
Offline
This is my hero:
http://aur.archlinux.org/packages.php?ID=21642
Native 64-bit java plugin, backport from something, BSD or so.. Works with my apps that don't run on icedtea.
Offline
Why not try the jre_beta 6u12_b02-1 64bit: http://aur.archlinux.org/packages.php?ID=22264
It works perfectly for me (so did Openjdk6 and IcedTea).
Offline
Why not try the jre_beta 6u12_b02-1 64bit: http://aur.archlinux.org/packages.php?ID=22264
It works perfectly for me (so did Openjdk6 and IcedTea).
I`m using it now and everything works, it`s great!
Offline
Pages: 1