Thanks so much Warlin!
I already got my SAPGui running at last!
It seems that I am using gcj instead of Sun Java. I already got the Gui running so all I have to do is to test the connectivity between my Java-gui and the SAP server.
Thanks again. ^_^
On 3/23/06, Warlin Pantoja <[EMAIL PROTECTED]> wrote:
Hi Rai,
It seems that your machine is trying to use the gcj VM rather than the Sun Java VM. You can check this sending this command on the command line:
# java -version
Or merely
# java
You would see the executable return what java version is being used.
If gcj is being used rather than the Sun Java VM, you might do one of the following:
1) point to the Sun Java's java executable when trying to execute the jar
# <path to Sun Java>/bin/java -jar PlatinGUI.jar
or 2) define Sun Java's java executable as the primary alternative
# /usr/sbin/alternatives --install /usr/bin/java java <path to Sun Java>/bin/java 2
# /usr/sbin/alternatives --config java
The second line would display alternatives to the java command you enter to the command line. You select '2' which should represent the Sun Java alternative. After you exit, try the java version check again. It must now be using the Sun Java implementation.
Hope that helps.
Lange
________________________________________
From: Rai Ricafrente [mailto:[EMAIL PROTECTED] ]
Sent: Thursday, March 23, 2006 1:18 PM
To: Philippine Linux Users' Group (PLUG) Technical Discussion List
Subject: Re: [plug] SAP on Linux[Scanned]
Hi Paolo!
Actually I have already installed Sun's JAVA (j2re-1_4_2_11- linux-i586.rpm) including browser plugins. Now Im completely lost.
When I searched for installed JAVA on my machine, I got this:
[EMAIL PROTECTED] root]# rpm -qa | grep java
redhat-java-rpm-scripts-1.0.2-2
gcc-java-ssa-3.5ssa-0.20030801.48
javamail-20031006-1
[EMAIL PROTECTED] root]# rpm -qa | grep j2re
j2re-1.4.2_11-fcs
On 3/23/06, Paolo Alexis Falcone <[EMAIL PROTECTED]> wrote:
On Thursday 23 March 2006 12:49, Rai Ricafrente wrote:
> Hello!
>
> I tried installing the JAVA version of SAPGui in RHEL3 but I get this error
> message after issuing java -jar PlatinGUI.jar
>
> Exception in thread "main" java.lang.InternalError : unexpected exception
> during linking: java.lang.ClassNotFoundException: javax.swing.JLabel
>at 0x00362ca3: java.lang.Throwable.Throwable (java.lang.String)
> (/usr/lib/./libgcj.so.3) at 0x00355b1e: java.lang.Error.Error (
> java.lang.String) (/usr/lib/./libgcj.so.3) at 0x00363086:
> java.lang.VirtualMachineError.VirtualMachineError(java.lang.String )
> (/usr/lib/./libgcj.so.3) at 0x003574be:
> java.lang.InternalError.InternalError (java.lang.String)
> (/usr/lib/./libgcj.so.3) at 0x00354c12:
> java.lang.ClassLoader.resolveClass0(java.lang.Class )
> (/usr/lib/./libgcj.so.3) at 0x003403fc: java.lang.Class.initializeClass()
> (/usr/lib/./libgcj.so.3)
>at 0x0033ec94: java.lang.Class.forName(java.lang.String, boolean,
> java.lang.ClassLoader ) (/usr/lib/./libgcj.so.3) at 0x0033ed2f:
> java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.so.3) at
> 0x003a6e81: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
>at 0x00349aec: _Jv_ThreadRun( java.lang.Thread) (/usr/lib/./libgcj.so.3)
>at 0x0031682c: _Jv_RunMain(java.lang.Class, byte const, int, byte const,
> boolean) (/usr/lib/./libgcj.so.3) at 0x08048930: ?? (??:0)
>at 0x0070a79a: __libc_start_main (/lib/tls/libc.so.6)
>at 0x080486e1: ?? (??:0)
Have you tried using the Sun's java version compared to RedHat's gcj?
--
Paolo Alexis Falcone
[EMAIL PROTECTED]
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
--
Fighting for Peace is Like Screwing for Virginity.
GPG Key 0x4AC2B3FE
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
--
Fighting for Peace is Like Screwing for Virginity.
GPG Key 0x4AC2B3FE
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

