on 12-30-2008 2:56 AM
hello,
I install the gui 710 for java rev7 in ubuntu(linux) whose java version is sun java Version 6 Update 11 . I can only run the guilogon and start graphic window in the command mode, but can not start graphic window when double click the guillogon icon in start menu. can you give me any solutions?
But I can not run this command:ls /usr/bin/sh -l.
the actual shell is dash, I try to change the shell to bash. but there is the same problem.
and I use it in command to run the sapgui momentarily.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/sapclients/sapgui/bin/guilogon
and there is no response after double-click the icon.
it can start sapgui graphic window when I enter the directory and run './guilogon'.
Edited by: chao john on Dec 31, 2008 2:14 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It sounds to me that your gnome-terminal uses different environment variables than your shell (bash/csh/..).
Please try the following:
(1) create a file in the /?/SAPGui/bin directory called guilogon_local
(2) The content of the file should be:
#!/bin/sh
export PLATIN_JAVA=###PATH to your 32bit JAVA executable
/?/SAPGUI/bin/guilogon
(3) chmod and chown the new file so you/your user can execute it.
(4) change the comand attached to the SAP GNOME-Icon to your new guilogon_local
The new file will actually set the PLATIN_JAVA environment and call afterwards the linked guilogon.
Christian
Thank you for help. I have done it as you say. Create a file guilogon_local as below:
#!/bin/sh
export PLATIN_JAVA=~/jre1.6.0_11/bin/java
~/SAPClients/SAPGUI7.10rev7/bin/guilogon
and change the icon's commands to the new file. I run the file in the command line, there is a error: bad variable name. It's ok when I copy it to the command line to excute it. there are no reponse after double-click the icon on my desk.
Can you please check what the output of
ls /usr/bin/sh -l
is?
My output is like this:
lrwxrwxrwx 1 root root 4 18. Jun 2008 /bin/sh -> bash
This indicates the link of the sh - command to an actual shell. Since you get the error of bad variable name, you should try to find out why you get it.
Can you also try first to use absolute path names than using the ~/ for your $HOME variable?
Furthermore, you can point your script to the guilogon linked file. In that case, you do not have to change it if a new JAVAGui will be released.
Christian
What command is actually executed when you click on your icon?
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.