on 07-15-2009 8:57 AM
Dear Experts
I want to install SAPGUI on linux .
I have installed redhat linux 5 successfully.
I have downloaded
1-j2re-1_4_2_19-linux-i586.bin
2-j2sdk-1_4_2_19-linux-i586.bin
3-PlatinGUI-Linux-710r6.jar
now my query is -
1- In which Directory i have to install java.?
2-should i install J2sdk and j2re both.?
3- from where is have to set JAVA Environmental variable and what is the steps to set JAVA Environmental variable ?
4-which Directory i have copy PlatinGUI-Linux-710r6.jar.? and how can i install
provide the steps and details
I already tried to do all as per my knowledge.
thanks regards
sadiq
hi experts
kindly guide me?
i have google many time and try it .unable to solve?
thanks
sadiq
Edited by: trans_basis on Jul 15, 2009 10:54 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've looked into the documentation for you and found:
ftp://ftp.sap.com/pub/sapgui/java/710r8/README.htm
and found:
For details please refer to the manual (chapter "3. System Requirements" and "4. Installation").
The documentation is available in the /doc folder after installing the GUI via
java -jar PlatinGUI.jar
Thanks,
Hannes
HI
i have downloaded Java Runtime Environment 5.0 (32-bit) and installed it on opt/
its installed successfully.
I m executing command
java -jar PlatinGUI-Linux-710r6.jar
its giving error.
[root@linux opt]# java -jar PlatinGUI-Linux-710r6.jar
Exception in thread "main" java.lang.NoSuchMethodError: method java.util.Collections.emptyList with signature ()Ljava.util.List; was not found.
at com.sap.platin.micro.Microkernel$Options.<init>(Microkernel.java:2294)
at com.sap.platin.micro.Microkernel$Options.createOptions(Microkernel.java:2314)
at com.sap.platin.micro.Microkernel.<clinit>(Microkernel.java:1013)
at java.lang.Class.initializeClass(libgcj.so.7rh
i also tried
#java version
its given error
Exception in thread "main" java.lang.NoClassDefFoundError: version
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
thanks
sadiq
Edited by: trans_basis on Jul 15, 2009 12:07 PM
> i have downloaded Java Runtime Environment 5.0 (32-bit) and installed it on opt/
...but you don't use it.
> #java version
> its given error
> Exception in thread "main" java.lang.NoClassDefFoundError: version
> at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> at java.net.URLClassLoader.findClass(libgcj.so.7rh)
> at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
> at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> at gnu.java.lang.MainThread.run(libgcj.so.7rh)
the command is
java -version
You are still using the GnuJava and not the correct one.
Adapt your PATH and JAVA_HOME so it points to the Java version you installed in /opt
Markus
hi
Markus
thanks for the reply
i have use the command ..
[root@linux ~]# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
When i m using command to install gui..
[root@linux opt]# java -jar PlatinGUI-Linux-710r6.jar
Exception in thread "main" java.lang.NoSuchMethodError: method java.util.Collections.emptyList with signature ()Ljava.util.List; was not found.
at com.sap.platin.micro.Microkernel$Options.<init>(Microkernel.java:2294)
at com.sap.platin.micro.Microkernel$Options.createOptions(Microkernel.java:2314)
at com.sap.platin.micro.Microkernel.<clinit>(Microkernel.java:1013)
at java.lang.Class.initializeClass(libgcj.so.7rh)
kindly tell me how can i set the path and where.
thanks
sadiq
Edited by: trans_basis on Jul 15, 2009 12:54 PM
> [root@linux ~]# java -version
> java version "1.4.2"
> gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14)
Yes - as you see this is GNU java, not Sun Java - and Gnu java is not supported for a SAPGUI installation.
> [root@linux opt]# java -jar PlatinGUI-Linux-710r6.jar
you have to set JAVA_HOME to the root of where you installed it.
so
export JAVA_HOME=/opt/<path-you-installed>
then edit your path:
export PATH=$JAVA_HOME/bin:$PATH
now "java -version" should output the Sun Java version.
Markus
> i m downloading it from sun java web site.
> and when i m installing it. Its always show GMU java.
Yes - because you don't adapt the paths. This is normal with all Unix based system and nothing special to Redhat.
> and kindly tell me the file name where is have to set java environmental variable
Did you read my previous post?
Markus
Hi Markus
i have installed Java successfully now.
[root@linux /]# java -version
java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)
after checking the java version when i m using command.
i m getting the error . kindly guide me now.
[root@linux /]# java -jar /mnt/PlatinGUI-Linux-710r6.jar /opt/SAPGUI/
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sap/platin/micro/Microkernel (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)
thanks
sadiq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.