on 08-09-2006 2:54 PM
HOW TO run SAPGUI into LINUX
Hi all,
I make this document for people who need install SAPGUI into Linux.
1)
Minimal system requeriments.
Linux
Hardware:
CPU: Intel PentiumIII with 800 MHz
RAM: 256MB
Software:
OS: SuSE Linux 9.3 - 10.1, Red Hat Enterprise Linux 3 and 4
JVM: Sun Java Runtime Evironment 1.4.2 (32-bit) or 5.0 (32-bit) including Java Plugin
please see http://java.sun.com/j2se/1.4.2/install-linux.html and http://java.sun.com/j2se/1.4.2/docs/...ocale.doc.html resp. http://java.sun.com/j2se/1.5.0/install-linux.html and http://java.sun.com/j2se/1.5.0/docs/...ocale.doc.html for details
2)
Download SAPGUI from:
ftp://ftp.sap.com/pub/sapgui/java/
(anonymous login)
https://websmp201.sap-ag.de/sapgui-java
(OSS user and pass)
3)
At /java folder in ftp select:
File: PlatinGUI-Linux-700.jar 37926 KB 11/07/06 13:58:00
(note: maybe a new version is available)
4)
At downloaded folder, execute
java -jar PlatinGUI-Linux-700.jar
5) Executing SAPGUI
A) Guilogon:
~/SAPClients/SAPGUI7.00/bin$ ./guilogon
To create servers, touch at new and go to "advanced".
-- tip use expert configuration
Example:
For server 10.1.1.6 with system number 01:
conn=/H/10.1.1.6/S/3201
B) Command line
For server 10.1.1.6 with system number 01:
~/SAPClients/SAPGUI7.00/bin$ ./sapgui /H/10.1.1.6/S/3201
Hope it helps, Goodbye!
To Download SAPGUI for JAVA :
go to https://service.sap.com/swdc, select "Support Packages and Patches" -> "Browse our download catalog" -> "SAP Frontend Components" -> "SAP GUI FOR JAVA" -> SAP GUI FOR JAVA 7.30 -> Linux on IA32 32bit -> PlatinGUI730Linux_9-20008877.JAR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just found how to download the SAPGUI for Java nowadays and I thought I'd let you know:
go to https://service.sap.com/swdc, select "Support Packages and Patches" -> "Browse our download catalog" -> "Frontend" -> "Linux on IA32" -> PlatinGUI730
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Respected Federico Martin Sir
Your post is very helpful, today i have installed SAP GUI 720 rev 9 in ubuntu 12.10 successfully
Thank you very much..
What i did to install SAP GUI ?
I opened Ubuntu software center and typed Java in the search bar
and selected this OpenJDK Java 7 Runtime which also installed by itself OpenJDK Java 7 Policy Tool then i followed the paths or points mentioned by Federico Martin Sir as below
At downloaded folder, execute
java -jar PlatinGUI720Linux_9-10008929.JAR
Executing SAPGUI
A) Guilogon:
~/SAPClients/SAPGUI7.00/bin$ ./guilogon
To create servers, touch at new and go to "advanced".
-- tip “use expert configuration”
Example:
For server 10.1.1.6 with system number 01:
conn=/H/10.1.1.6/S/3201
B) Command line
For server 10.1.1.6 with system number 01:
~/SAPClients/SAPGUI7.00/bin$ ./sapgui /H/10.1.1.6/S/3201
Thank you very much!!
hope understood
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Can you please help me how can i install PlatinGUI720Linux_8.jar on Ubuntu 11.04 (natty)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please do not forget to update compat-libstdc++-296 and re-direct Java link to Sun Java VM before installing SAPGUI...
yum -y update compat-libstdc++
rm /usr/bin/java
ln -s /usr/java/j2re1.4.2_09/bin/java /usr/bin/java
java -version
My newer version on Fedora Core 6 (kernel: 2.6.19-1.2895.fc6):
- compat-libstdc++-33-3.2.3-61
- Java HotSpot(TM) Client VM (build 1.5.0_10-b03)
- SAPGUI 640 rev 11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all and Federico,
Pls help, I am newbee with Linux and SAP also. when i follow step 4 in your instructions to install SAP GUI for linux i had message:
Fail to load Main-class manifest attribute from PlatinGUI-Linux-700.jar
(I could not also use SAP GUI for win over wine emulator, could you tell me it better method or by Sap GUI for linux )
Note: I use Fedora core 6. and JRE 1.5.0_10
Thanks for any help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Hi all and Federico,
>
> Pls help, I am newbee with Linux and SAP also. when
> i follow step 4 in your instructions to install SAP
> GUI for linux i had message:
> Fail to load Main-class manifest attribute from
> PlatinGUI-Linux-700.jar
> (I could not also use SAP GUI for win over wine
> emulator, could you tell me it better method or by
> Sap GUI for linux )
>
> Note: I use Fedora core 6. and JRE 1.5.0_10
> Thanks for any help.
Hello,
Some JAVA versions are not well compatible with new Platin GUI 7.
So, i tried with an older version and runs OK.
Use: 1.4.2-13 for Linux.
You can download it from java
file: j2re-1_4_2_13-linux-i586.bin
<a href="https://sdlc5b.sun.com/ECom/EComActionServlet;jsessionid=F0FCDBDF1C59A914EA7C76A570F81852">Download here JAVA 1.4.2-13</a>
Try extracting it and execute Platin GUI with java -jar command of the 1.4.2 version installed.
Also check you have installed gcc library via apt-get install gcc
Comment any inquiry, regards
Federico
Message was edited by:
Federico Martin
Thanks Hannes and Federico a lot for your quick replies,
I first follow Hannes guide because I has same platform
yum install compat-libstdc++-33
but always time out when retreiving mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386
so i download compat-libstdc++-33-3.2.3-61-i386.rpm and install succesfully.
but when run jave -jar....SAPGUi 700... i still have same error :
Fail to load Main-class manifest...
what is wrong for me, do you kwow Hannes ?
If i follow Federico, how i uninstall newer Jre version i had install before?
Thanks for your support !
Do Chi Dung,
First at all check libraries (gcc or Hannes comented one) via yum or apt. Maybe you need to check your repositories for YUM / APT to get these ones.
At my plataform (Debian/ubuntu) y resolved it with:
g+-3.4 - The GNU C+ compile
If this not resolved your installation problem, please paste complete error code for find a solution.
2º
I recommend you use 1.4.3 java version indicated before.
you can make a
whereis java
for see where is located for local exectuion java machine.
You don't need to uninstall it, just execute .bin of the version that i say and enter to directory /bin for make java -jar over Platin GUI (SapGui) file.
Hope it helps, if not here i am for try to resolve
I have a small script which does all the stuff for me:
cat /usr/local/bin/sapgui.sh
#!/bin/sh
export JAVA_HOME=/usr/java/jdk1.5.0_09
export PLATIN_JAVA_VER=1.5.0_09
export PLATIN_JAVA=$JAVA_HOME/bin/java
export LD_LIBRARY_PATH=/opt/SAPGUI7.00rev1.5/bin
/opt/SAPGUI7.00rev1.5/bin/guilogon
I always set JAVA_HOME and versions manually. Also LD_LIBRARY_PATH, because sometimes these variables are overwritten. Try this sapgui.sh script and adept the paths.
HTH, Hannes
Hi,
I'm trying to use the SAPgui for Java on Ubuntu 6.06 and I have problems with that. The SAPgui connects to the SAP system problemless.
After couple of minutes the SAPgui for Java always hangs with these messages in terminal:
ERROR #############################
17.08. 11:13:01.700 ERROR: JniAgComAdaptor.write failed
ERROR #############################
ERROR #############################
17.08. 11:13:01.714 ERROR: GuiNiWriter: write failed
ERROR #############################
I'm connecting to SAP Netweaver 04 running on the same computer. I have also tried different versions of Java 1.4, 1.5 and the problem still persists.
From other computers in network the SAPgui for Java runs perfectly against the same SAP system, running on the same Java version as before, on Ubuntu 6.06 or Fedora Core 5 whatever, it runs without any hassles.
I haven't found any remarks on this error on Google, neither on SAP OSS.
Do you think I can raise a question to OSS? I don't think there are some restrictions for SAPGUI for Java regarding use of Linux distribution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Federico,
Very nice document! I have a 10-line cheat-sheet for 6.40 GUI which is far less detailed.
Consider posting it as Web Blog so the procedure could be easily searched from google?
Thank you,
Victor Lin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.