cancel
Showing results for 
Search instead for 
Did you mean: 

make a Java SAPGUI "portable"

Former Member
0 Kudos

Hi!

I yust trying to make a portable version of Java GUI.

After I have installed on my PC I take the Installation folder (destination folder) and move to another PC.

I have edite the guilogon.bat and guistart.bat accrding to the new PC.

But wher I try to run guilogon I have this error:

"JAVA Virtual MAchine Launcher"
Could not find the main class: con.sap.platin.Gui. Program will exit.

Inside the guilogon.bat script there is a variable %PLATIN_JVMOPT% that I need to traslate for the new enviroment.

The raw is:

%PLATIN_JVMOPT% com.sap.platin.Gui %1 %2 %3 %4 %5 %6 %7 %8 %9

Any idea ??

regards

Pierfrancesco

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

only problem is, that you'll still need the "Visual C++ Redistributable" installed on the local machine.

anyone solved this "last" issue?

Former Member
0 Kudos

Hi,

try this script:

mode con: cp select=1252

if "%PLATIN_JAVA%" == "" set PLATIN_JAVA=.\..\jre\bin\javaw.exe

start "" /MIN "%PLATIN_JAVA%" -Xmx256M -cp ".\..\jar\GuiStartS.jar" %PLATIN_JVMOPT% com.sap.platin.Gui %*

regards,

tobi

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

there are various ways to deploy SAP GUI for Java (see manual, chapter 4. Installation)

What do you want to achieve with what are you trying to do which can not be done using the available options?

Best regards

Rolf-Martin