
I tried to follow this explanation to change the Java VM http://www.oxygenxml.com/forum/topic7033.html#p22000 to set oxygen to work with Java version 7. But I don’t have an JRE directoy in my oxygen installation (version 16). I am using Mac os X 10.9.2. The Mac Java control panel tells me that I have only Java versions 1.7.0_60 in the mac os, but the oxygen info via "Help > About, System properties, „java.runtime.version“" says that oxygen is using java1.6. The oxygen java.library.path system property has the value /Applications/oxygen/Oxygen XML Editor.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java so maybe I need to change something in the Oxygen XML Editor.app so that oxygen uses java 7. Any suggestions? Thanks, Felix

Hi, You haven't mentioned the version of Oxygen, so I'm assuming it's the current version, v16.0. We generally do not recommend changing the bundled/recommended JRE unless you have a very good reason (e.g. serious bugs or crashes with that JRE). Is there a particular reason why you want to run Oxygen with Java 7? The instructions you found on the forum do not apply to OS X. They are for Linux and Windows distributions. The OS X .zip distribution of Oxygen requires Java SE 6 (from Apple). There is no way to configure the .app to recognize Java 7 or later (from Oracle). There is also a .tar.gz distribution for OS X that bundles *Java SE 8u5*. You can download that here: http://www.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.tar.gz If for some reason you want to use Java 7 instead of 8, although we do not recommend this, in this distribution you can replace the JRE found in 'oxygen/.install4j/jre.bundle'. Note that this does not work the same as Linux and Windows, so if you simply remove that folder, Oxygen will no longer start. You will have to either copy your Java 7 JRE ('Contents' folder) to that folder ('jre.bundle'), or create a symbolic link that points to your Java 7 JRE installation folder. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com On 16.06.2014 10:33, Felix Sasaki wrote:
I tried to follow this explanation to change the Java VM
http://www.oxygenxml.com/forum/topic7033.html#p22000
to set oxygen to work with Java version 7. But I don't have an JRE directoy in my oxygen installation (version 16). I am using Mac os X 10.9.2. The Mac Java control panel tells me that I have only Java versions 1.7.0_60 in the mac os, but the oxygen info via "Help > About, System properties, "java.runtime.version"" says that oxygen is using java1.6.
The oxygen java.library.path system property has the value
/Applications/oxygen/Oxygen XML Editor.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
so maybe I need to change something in the Oxygen XML Editor.app so that oxygen uses java 7. Any suggestions?
Thanks,
Felix
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Adrian, Am 16.06.2014 um 10:37 schrieb Oxygen XML Editor Support (Adrian Buza) <support@oxygenxml.com>:
Hi,
You haven't mentioned the version of Oxygen, so I'm assuming it's the current version, v16.0.
Correct, see below „… oxygen installation (version 16)".
We generally do not recommend changing the bundled/recommended JRE unless you have a very good reason (e.g. serious bugs or crashes with that JRE). Is there a particular reason why you want to run Oxygen with Java 7?
I want to use this plugin https://github.com/danielnaber/oxygen-languagetool-plugin/ which requires Java 7.
The instructions you found on the forum do not apply to OS X. They are for Linux and Windows distributions. The OS X .zip distribution of Oxygen requires Java SE 6 (from Apple). There is no way to configure the .app to recognize Java 7 or later (from Oracle).
There is also a .tar.gz distribution for OS X that bundles Java SE 8u5. You can download that here: http://www.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.tar.gz If for some reason you want to use Java 7 instead of 8, although we do not recommend this, in this distribution you can replace the JRE found in 'oxygen/.install4j/jre.bundle'. Note that this does not work the same as Linux and Windows, so if you simply remove that folder, Oxygen will no longer start. You will have to either copy your Java 7 JRE ('Contents' folder) to that folder ('jre.bundle'), or create a symbolic link that points to your Java 7 JRE installation folder.
Thanks a lot, I will give that a try. Regards, Felix
Regards, Adrian Adrian Buza oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com
On 16.06.2014 10:33, Felix Sasaki wrote:
I tried to follow this explanation to change the Java VM
http://www.oxygenxml.com/forum/topic7033.html#p22000
to set oxygen to work with Java version 7. But I don’t have an JRE directoy in my oxygen installation (version 16). I am using Mac os X 10.9.2. The Mac Java control panel tells me that I have only Java versions 1.7.0_60 in the mac os, but the oxygen info via "Help > About, System properties, „java.runtime.version“" says that oxygen is using java1.6.
The oxygen java.library.path system property has the value
/Applications/oxygen/Oxygen XML Editor.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
so maybe I need to change something in the Oxygen XML Editor.app so that oxygen uses java 7. Any suggestions?
Thanks,
Felix
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi, We generally recommend Oxygen plugin developers to build them for Java 6 for best compatibility, especially for OS X. Anyway, I see there that building the source code requires Java 7 or *later*. So it should run fine with Java SE 8. I'd recommend sticking with the bundled version of the JRE rather than changing it. Regards, Adrian On 16.06.2014 11:50, Felix Sasaki wrote:
Hi Adrian,
Am 16.06.2014 um 10:37 schrieb Oxygen XML Editor Support (Adrian Buza) <support@oxygenxml.com <mailto:support@oxygenxml.com>>:
Hi,
You haven't mentioned the version of Oxygen, so I'm assuming it's the current version, v16.0.
Correct, see below „… oxygen installation (version 16)".
We generally do not recommend changing the bundled/recommended JRE unless you have a very good reason (e.g. serious bugs or crashes with that JRE). Is there a particular reason why you want to run Oxygen with Java 7?
I want to use this plugin https://github.com/danielnaber/oxygen-languagetool-plugin/ which requires Java 7.
The instructions you found on the forum do not apply to OS X. They are for Linux and Windows distributions. The OS X .zip distribution of Oxygen requires Java SE 6 (from Apple). There is no way to configure the .app to recognize Java 7 or later (from Oracle).
There is also a .tar.gz distribution for OS X that bundles *Java SE 8u5*. You can download that here: http://www.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.tar.gz If for some reason you want to use Java 7 instead of 8, although we do not recommend this, in this distribution you can replace the JRE found in 'oxygen/.install4j/jre.bundle'. Note that this does not work the same as Linux and Windows, so if you simply remove that folder, Oxygen will no longer start. You will have to either copy your Java 7 JRE ('Contents' folder) to that folder ('jre.bundle'), or create a symbolic link that points to your Java 7 JRE installation folder.
Thanks a lot, I will give that a try.
Regards,
Felix
Regards, Adrian Adrian Buza oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com
On 16.06.2014 10:33, Felix Sasaki wrote:
I tried to follow this explanation to change the Java VM
http://www.oxygenxml.com/forum/topic7033.html#p22000
to set oxygen to work with Java version 7. But I don’t have an JRE directoy in my oxygen installation (version 16). I am using Mac os X 10.9.2. The Mac Java control panel tells me that I have only Java versions 1.7.0_60 in the mac os, but the oxygen info via "Help > About, System properties, „java.runtime.version“" says that oxygen is using java1.6.
The oxygen java.library.path system property has the value
/Applications/oxygen/Oxygen XML Editor.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
so maybe I need to change something in the Oxygen XML Editor.app so that oxygen uses java 7. Any suggestions?
Thanks,
Felix
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com <mailto:oXygen-user@oxygenxml.com> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com
participants (2)
-
Felix Sasaki
-
Oxygen XML Editor Support (Adrian Buza)