Page 1 of 1
Problem installing oXygen
Posted: Wed Dec 13, 2006 10:40 pm
by jnojr
[root@sdgle01 tree]# /root/oxygen.sh
Starting Installer ...
Exception in thread "GtkMain" java.lang.UnsatisfiedLinkError: gtkInit
at _Jv_LookupJNIMethod (/usr/lib64/libgcj.so.5.0.0)
at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib64/libgcj.so.5.0.0)
at gnu.java.awt.peer.gtk.GtkMainThread.run() (Unknown Source)
at java.lang.Thread.run() (/usr/lib64/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)
at GC_start_routine (/usr/lib64/libgcj.so.5.0.0)
at __clone (/lib64/tls/libc-2.3.4.so)
[root@sdgle01 tree]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
Posted: Thu Dec 14, 2006 9:41 am
by Radu
Hi,
oXygen requires a Java from Sun and you have GNU Java, see on the download page, under requirements:
http://www.oxygenxml.com/download.html
***
Sun Microsystems Java VM version 1.4.2 or later (available at
http://java.sun.com) in case you use the installation kit without Java VM.
***
Eventually you can use the all platforms distribution which is just an archive to install oXygen - but you should make sure you use a Java from Sun when running oXygen after installation.
You can read this post for the troubles that may be encountered when running a non-SUN JVM:
http://www.oxygenxml.com/forum/ftopic18 ... ht=sun+jvm
Best Regards,
Radu
Posted: Thu Dec 14, 2006 11:34 pm
by jnojr
I did download and install the most recent JRE from java.com It looks like there are other java-related RPMs installed, though. How can I tell oXygen to use the Sun one?
Posted: Fri Dec 15, 2006 10:14 am
by Radu
Hi,
There are a couple of ways to accomplish that:
1)Change the default java used on your computer:
You can issue a "java -version" command to find out which java is used by default on your computer.
If it is not the java from sun, you can issue "which java" to see whether there is a symbolic link pointing to another java installation.
If so, remove that link file and replace it with a symbolic link pointing to the right directory.
If not, then you probably have a JAVA_HOME variable declared somewhere in your PATH pointing to another directory. The PATH is declared somewhere in a ".bashrc" file located in your user home so it can be changed either.
2)Change the java virtual machine used only by oxygen:
If you are using the "oxygen.sh" script to start oXygen just edit the file and replace "java" with "/path/to/sun/java". If you are using the installer shortcuts (installed oXygen using the installer package), edit the install4j script "oxygen8.0" located in the oXygen directory and uncomment the "INSTALL4J_JAVA_HOME_OVERRIDE" and point it to the java sun installation folder.
Hope this helps,
Regards,
Radu