Skip to main content



      Home
Home » Modeling » Papyrus » What Runtime Environment for Papyrus RCP?
What Runtime Environment for Papyrus RCP? [message #1820789] Tue, 28 January 2020 22:18 Go to next message
Eclipse UserFriend
I have company Windows 10 with 32-bit Java installed. All Papyrus RCP versions require 64 bit Java. Is there an open source JRE that is recommended for Papyrus? Any special instructions on how to set it up? Thanks!
Re: What Runtime Environment for Papyrus RCP? [message #1820799 is a reply to message #1820789] Wed, 29 January 2020 04:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Richard,

yes there seem to be no official builds for 32bit Windows any longer. It seems Oxygen was the last version to officially support 32bit Windows.

Eclipse is not pure Java, the GUI components are native C/C++ code. As a consequence the 64bit Windows builds cannot be run on 32bit Windows systems. That is why a different JRE won't help at all.

Given that I am aware of two possibities:

1. use Oxygen

2. build your own build

/Carsten
Re: What Runtime Environment for Papyrus RCP? [message #1820816 is a reply to message #1820799] Wed, 29 January 2020 09:35 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Carsten, actually I have 64 bit windows but it has a 32 bit Java JRE and company only supports 32bit Java JRE (don;t ask why...). So I need to choose which 64bit JRE to download, I don;t need the JDK, just the JRE...
Re: What Runtime Environment for Papyrus RCP? [message #1820817 is a reply to message #1820816] Wed, 29 January 2020 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Richard,
beside the "official" JRE by Oracle, there is the free open source software OpenJDK also provided by Oracle. As both share the same code base, both are highly compatible to each other. The only difference is OpenJDK lacks some legacy monitoring features, not used by Eclipse. I personally use the OpenJDK and so far did not recognize any issues. My Papyrus setup including Acceleo, GenDoc, Java Designer, C++ Designer and Moka works fine on OpenJDK.
/Carsten
Re: What Runtime Environment for Papyrus RCP? [message #1820818 is a reply to message #1820817] Wed, 29 January 2020 09:50 Go to previous messageGo to next message
Eclipse UserFriend
Beautiful, that's what I was looking for... thank you!
Re: What Runtime Environment for Papyrus RCP? [message #1820835 is a reply to message #1820818] Thu, 30 January 2020 00:12 Go to previous messageGo to next message
Eclipse UserFriend
Downloaded OpenJDK from https://jdk.java.net/java-se-ri/8, unzipped, edited papyrus.ini as follows, but still get the exit 13 code: any help? (p.s. I have windows 10 64bit with 32 bit Java8 and I can't modify the system (locked by administrator) or set JAVA HOME / Java Path (must continue using Java 32 bit for company apps)

-startup
plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1100.v20190907-0426
-showsplash
org.eclipse.papyrus.rcp
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
-vm C:\PersNOBUP\SW\Papyrus4.6\jdk-13.0.2\bin\javaw.exe
openFile
-vmargs
-Xms128m
-Xmx900m
-Dosgi.bundlefile.limit=200

[Updated on: Thu, 30 January 2020 00:29] by Moderator

Re: What Runtime Environment for Papyrus RCP? [message #1820836 is a reply to message #1820835] Thu, 30 January 2020 02:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi Richard,

for me

...
--launcher.defaultAction
-vm C:\PersNOBUP\SW\Papyrus4.6\jdk-13.0.2\bin\javaw.exe
openFile
...


looks weird, as
openFile
is the argument of the
--launcher.defaultAction
parameter.

Please try

...
--launcher.defaultAction
openFile
-vm C:\PersNOBUP\SW\Papyrus4.6\jdk-13.0.2\bin\javaw.exe
...


Beside that I am not sure wether Java release 13 is supported. I would go for Java release 8.

/Carsten
Re: What Runtime Environment for Papyrus RCP? [message #1820861 is a reply to message #1820836] Thu, 30 January 2020 10:56 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Carsten the fix on Papyrus.ini I can see from exit code 13 error that not it's trying to start the correct (64 but) Java instance , but where did you download Open SDK for Java 8 for Windows? I can only find exe downlaods on Oracle.com and they are not open source. openjdk.java.net only has a Win 7 binary requiring Oracle license. I don;t want to use exe downloads because I am afraid they may change my classpath and registry which I don't want to do.

p.s. Everyone bundles java in their application releases, could Payprus (especially RCP) do the same in future?
Re: What Runtime Environment for Papyrus RCP? [message #1820862 is a reply to message #1820861] Thu, 30 January 2020 11:22 Go to previous messageGo to next message
Eclipse UserFriend
Yes, OpenJDK 8 support Windows 7 and newer versions.
/Carsten
Re: What Runtime Environment for Papyrus RCP? [message #1820884 is a reply to message #1820861] Fri, 31 January 2020 02:03 Go to previous messageGo to next message
Eclipse UserFriend
Sorry, I have overseen, you asked for a download address.
Here it is
https://adoptopenjdk.net/

/Carsten
Re: What Runtime Environment for Papyrus RCP? [message #1820892 is a reply to message #1820884] Fri, 31 January 2020 02:44 Go to previous messageGo to next message
Eclipse UserFriend
or here: https://portableapps.com/apps/utilities/OpenJDK64 (portable version)
Re: What Runtime Environment for Papyrus RCP? [message #1823390 is a reply to message #1820892] Wed, 25 March 2020 23:10 Go to previous message
Eclipse UserFriend
Hello Carsten and all
thank you for your suggestions openJDK worked perfectly - download, unzip, add the path to papyrus.ini - boom everything works. And my company-mandated Java 32 bit keeps running no issues. Thanks so much!
I have a little trivial question, does anyone know if I can delete some of the openjdk 300MB files from my hard disk, without impacting Papyrus? ALso some of my students would like to save disk space if easy to do.

Cheers!
Previous Topic:Is Papyrus Compare still alive?
Next Topic::-) two IMHO funny co-incidences
Goto Forum:
  


Current Time: Sun Jul 27 15:37:11 EDT 2025

Powered by FUDForum. Page generated in 0.26320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top