cancel
Showing results for 
Search instead for 
Did you mean: 

Java Gui 7.30 needs access to mac home folder

Former Member
0 Kudos

Hi there,

I recently downloaded the Java GUI 7.30 for mac and today I'm trying to download a pdf through VL71, but I get an error from the app that it doesn't got access to my home folder.

Do any of you know how to grant this access?

There has been an uncatched AccessControlException:

access denied (java.io.FilePermission /Users/perage read)

=============================================================

Request environment

=============================================================

CS: /Applications/SAP%20Clients/SAPGUI%207.30/SAPGUI%207.30.app/Contents/Resources/Java/platinr3S.jar

PL: com.sap.platin.base.security.SAPGUIPolicy

PR: permission java.io.FilePermission "/Users/perage", "read";

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

RMW
Advisor
Advisor
0 Kudos

Hello Per-Åge,

assuming that this exception happens after you press the "Save" button in the control displaying a PDF inside SAP GUI for Java, this is fixed in SAP GUI for Java 7.30 rev 1 expected to be available next week.

Best regards

Rolf-Martin

Former Member
0 Kudos

I'm using SAG GUI for Java 7.30 Rev 8 and I am experiencing the exact same problem. Any ideas?

0 Kudos

I can confirm this behavior with version 7.30 Rev 8

RMW
Advisor
Advisor
0 Kudos

Hello,

please try SAP GUI for Java 7.30 rev 10. There was a fix in rev 9 in this area.

Best regards

Rolf-Martin

0 Kudos

How do I install SAP Gui for Java 7.30 rev 10? Or where do I get that from?

If I install SAP Gui from the self service application I get rev 8.

RMW
Advisor
Advisor
0 Kudos

Hello Thomas,

Please refer to where to get SAP GUI for Java.


Best regards

Rolf-Martin

0 Kudos

Hi Rolf-Martin,

Thanks for the help.

rev 10 has fixed the problem.

Cheers,

Thomas

Answers (1)

Answers (1)

Former Member
0 Kudos

Per-Åge,

I got a similar message when doing a test in SKPR09. I think the problem relates to this:

PL: com.sap.platin.base.security.SAPGUIPolicy

PR: permission java.io.FilePermission "<path/filename>"

When using a connection for the first time in SAPGui 7.30 you are asked about the trust level for that connection. The default is "Internal: Generally trusted, does not require extensive privileges."and up to now I confirmed this setting. However, I think this setting causes the described error and we need the level "Productive: Fully trusted. Needs access to local resources".

At least I got rid of the message in SKPR09 after setting "Level4" instead of "Level3" for the connection entries in

/Users/<yourname>/Library/Preferences/SAP/trustClassification

and restarting SAPGui.

Best regards

Matthias

jude_bradley
Active Contributor
0 Kudos

Yes, by default, set to "Fully Trusted".

Jude

former_member469469
Discoverer
0 Kudos

Yes, It worked for me by setting to "Fully Trusted". Within SAPGUI you can go to "File" menu and select "Edit Trust Level..."

Thank you all.

Silvia.

RMW
Advisor
Advisor
0 Kudos

2045689 - AccessControlException accessing arbitrary predefined directories

describes how to provide permissions to access directories without reducing the security level.

Former Member
0 Kudos

I've had the same problem and resolved it wham setting was Fully Trusted.  But here's my problem:

-----------------------------------------------------------

Date: 23.10. 11:51:54.597

-----------------------------------------------------------

System Details

-----------------------------------------------------------

Java VM: Apple Inc. Version 1.6.0_65

OS: Mac OS X(x86_64) Version 10.8.5

Java Directory: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

Home Directory: /Users/RLErrington

Current Directory: /Applications/SAP Clients/SAPGUI 7.30

Locale: English (United States)

Default Character Encoding: MacRoman

-----------------------------------------------------------

Product Details

-----------------------------------------------------------

SAP GUI for Java 7.30

2012-12-19 06:12:48 +0100

ldm046, 730_REL, 1382695

(Version ID A073000040000)

There is NO "Edit Trust Level" option on the menu under "File". So how do I reset the trust level from Internal to Fully Trusted.  It varies by connection.

Many thanks.

Rich

RMW
Advisor
Advisor
0 Kudos

Hello Richard,

please upgrade to the latest SAP GUI for Java 7.40 and JDK 8, 7.30 is no longer supported.

Newer SAP GUI for Java versions also provide the menu item to edit the trust level.

Best regards

Rolf-Martin

Former Member
0 Kudos

I downloaded and installed SAP Gui 7.40 rev 4 for Java. It will not launch. I also checked and ensure the JDK and it is at 1.8.

Java 8 v65 Build 1.8.0_65-b17

I get the following message when trying to start SAP GUI:

"Application <SAPGUI 7.40rev4> could not be launched."

"Failed to find JRE/JDK version 1.8+ (64 bit).

Download at http://java.com/jdk."

Java is installed: verification test:

Verified Java Version

Completion checkmark

Congratulations!

You have the recommended Java installed (Version 8 Update 65).

I am on Mac OSX 10.8.5, and I need to be able to either run older this version, or change the permissions files. Since I can't locate them, I can't just delete them. Maybe someone can provide me with the information where they are stored, because they are apparently stored for each instance.

btw - I will be very happy to run 7.40 is it will just start.

Thank you.

Rich Errington

Former Member
0 Kudos

Checking out the Java and it appears that the jdk is the wrong version. working to correct it:

java -version

java version "1.6.0_65"

Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)

Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

Former Member
0 Kudos

Reinstalled the JDK and it is working. Many thanks.

As a note for others, upgrading Java usually just upgrades the JRE, not the JDK. You have to hunt around a little for the JDK installer.

Also, it came up in blue crystal. Pretty much unable to read anything.  Changed the config and it's all happy.

One more note: The SAP GUI 7.40 data is all in different places than prior versions.

Regards,

Rich

RMW
Advisor
Advisor
0 Kudos

Hello Richard,

good to read that it is working now.

The information about JDK is available as part of http://service.sap.com/sap/support/notes/2059424

or in the manual coming with the installation

Best regards

Rolf-Martin