cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI for Java with Java 1.7.0

stefan_schnell
Active Contributor
0 Kudos

Hello community,

yesterday I installed Java 1.7.0 and today I want to start the actual SAP GUI for Java but I does not work.

I there something wrong or work the SAP GUI for Java not with Java 7?

Thanks for tips.

Cheers

Stefan

Accepted Solutions (0)

Answers (1)

Answers (1)

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Stefan,

is there any error message?

I have tried SAP GUI for Java on Windows with Java SE 7 and did not see any problem, neither stand alone nor when running as an applet.

What platform do you use, how do you start SAP GUI for Java?

We plan to test SAP GUI for Java 7.20 on Java SE 7 to find out, if this can be officially supported or if we need to address some issues first.

For now, you can set the environment variable PLATIN_JAVA to point to the javaw executable of your Java SE 6 JRE.

When running in the browser, you need to set Java SE 6 to be the default Java plugin in your browser.

Best regards

Rolf-Martin

stefan_schnell
Active Contributor
0 Kudos

Hello Rolf-Martin,

thanks for your fast reply.

I start the SAP GUI for Java with the batch file guilogon.bat in the path SAP Clients\SAPGUI for Java\bin. Until yesterday it works perfect with Java 1.6.0_26. My OS is Windows 7, Version 6.1.7601. I deinstall Java 1.6.0 complete, then I install JRE 1.7 with the SDK. If I start the batch file I see for a short time the splash screen and then nothing happens.If I use the command

javaw -cp "D:\Programme\SAP Clients\SAPGUI for Java 7.20rev5\jar\GuiStartS.jar" com.sap.platin.Gui

I get the same result.

If I use

java -cp "D:\Programme\SAP Clients\SAPGUI for Java 7.20rev5\jar\GuiStartS.jar" com.sap.platin.Gui

I get the following error message:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing
.KeyStroke cannot be cast to java.lang.Comparable
        at java.util.TreeMap.compare(Unknown Source)
        at java.util.TreeMap.put(Unknown Source)
        at java.util.TreeSet.add(Unknown Source)
        at com.sap.plaf.synth.SynthSplitPaneUI.installDefaults(SynthSplitPaneUI.java:93)
        at javax.swing.plaf.basic.BasicSplitPaneUI.installUI(Unknown Source)
        at com.sap.plaf.synth.NovaSplitPaneUI.installUI(NovaSplitPaneUI.java:22)

        at javax.swing.JComponent.setUI(Unknown Source)
        at javax.swing.JSplitPane.setUI(Unknown Source)
        at javax.swing.JSplitPane.updateUI(Unknown Source)
        at javax.swing.JSplitPane.<init>(Unknown Source)
        at javax.swing.JSplitPane.<init>(Unknown Source)
        at com.sap.platin.base.logon.GuiLogon.initViewType(GuiLogon.java:1727)
        at com.sap.platin.base.logon.GuiLogon.setUpViewType(GuiLogon.java:1758)
        at com.sap.platin.base.logon.GuiLogon.initComponents(GuiLogon.java:1453)

        at com.sap.platin.base.logon.GuiLogon.<init>(GuiLogon.java:286)
        at com.sap.platin.base.logon.GuiLogon.getLogonFrame(GuiLogon.java:1317)
        at com.sap.platin.base.logon.GuiLogonManager.getLogonFrame(GuiLogonManager.java:50)
        at com.sap.platin.base.logon.GuiLogonManager.setVisibleLogonFrame(GuiLogonManager.java:62)
        at com.sap.platin.base.logon.GuiImpl$2.run(GuiImpl.java:157)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:79)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Thanks for tips.

Cheers

Stefan

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Stefan,

thanks for providing the information.

I can reproduce this with SAP GUI for Java 7.20rev5.

SAP GUI for Java 7.20rev 6 does not show this problem. It is currently in testing and will be shipped anytime soon.

Best regards

Rolf-Martin

Former Member
0 Kudos

Hello Rolf-Martin,

     Any update on this problem ?

Best regards.

Deep

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Deep,

SAP GUI for Java 7.20rev 6 has been shipped long time ago, but meanwhile is out of maintenance.

SAP GUI for Java 7.30 officially supporting Java 7 has been shipped more than a year ago.


What kind of problem do you have?


Best regadrs

Rolf-Martin