Rodin won't install correctly. I have downloaded the latest version, but when I launch it it fails to set up the working directory at the supplied location (see first screenshot). If I try a different location it also fails, but with a different error (see second screenshot). I have the latest version of Eclipse installed (if that is relevant).
Dear Keith,
thank you for reporting this error. However, I did not succeed in reproducing it on Mojave.
As concerns the first warning, maybe you selected an incorrect path for the workspace?
Note that the second warning just tells you that the workspace already exists, but has been used by a newer version of Eclipse (latest Rodin 3.4 is based on Eclipse 3.7.2). I do not advise using it with Rodin.
However you should be able to create a new workspace just next to it, e.g.
/Users/appworks/Documents/My Rodin Projects.If this still does not work, could you please tell me which version of Java you are using (i.e., the result of
java -versionentered in a terminal).Cheers,
Laurent.
Hi
Thanks for your reply. I'm The first warning I received from Rodin used the path provided by Rodin.
I have just tried creating a workspace where you suggested, but it still fails. I have attached the log file and screenshot of the error message. The version details for java are:
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
I am surprised Rodin is based on 3.7.2 because it was released in 2012! Are there plans to upgrade Rodin to the latest eclipse?
Best
Keith
Last edit: Keith Lander 2019-04-25
Sorry, I think I left the log file out.
Hi Keith,
Oups, I am sorry, I meant Eclipse 4.7.2 which was released in 2018, so not that old.
However, this version of Eclipse is not compatible with Java 11. To run it you will need to install Java 8. On my computer, I have performed the following:
then added the following lines to
rodin.app/Contents/Eclipse/rodin.ini:so that I do not have to pass explicitely this option when launching Rodin.
It is really a pity that almost each new version of Java breaks Eclipse since Java 9.
I planned to make a new release of Rodin in February but did not find the time to do so. Now the plan will be to base it on the latest Eclipse release (2019-03 currently).
Cheers,
Laurent.
Hi Laurent
I tried using brew but that failed saying it couldn't find the cask. Then I noticed the line to be added to the .ini file had adoptopenjdk-8
not adoptopenjdk8, so I tried that and got:
I tried removing java and reinstalling version 8 using a download from Oracle. The java control panel contains:
The terminal still shows:
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
So I totally confused.
Regards
Keith
Related
Support Requests:
#30Hi,
In case it is helpful.. I am using jdk-9.0.4 running Rodin and eclipse on Mojave
I have to add the following to rodin.ini / eclipse.ini (after -vmargs)
--add-modules=ALL-SYSTEM
I do not have to specify the java version - i guess it picks the most up to date one?
(Folder /Library/Java/JavaVirtualMachines/ contains jdk-9.0.4.jdk plus some older 1.8 versions)
This is from the configuration ('about Rodin menu option')
-vm
/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/../lib/server/libjvm.dylib
Colin
Full rodin.ini :
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.551.v20171108-1834
-vmargs
--add-modules=ALL-SYSTEM
-Xmx1024m
-Dosgi.requiredJavaVersion=1.8
On 25 Apr 2019, at 18:44, Keith Lander easiwriter@users.sourceforge.netamp#101;amp#97;amp#115;amp#105;amp#119;amp#114;amp#105;amp#116;amp#101;amp#114;amp#64;amp#117;amp#115;amp#101;amp#114;amp#115;amp#46;amp#115;amp#111;amp#117;amp#114;amp#99;amp#101;amp#102;amp#111;amp#114;amp#103;amp#101;amp#46;amp#110;amp#101;amp#116; wrote:
Hi Laurent
I tried using brew but that failed saying it couldn't find the cask. Then I noticed the line to be added to the .ini file had adoptopenjdk-8
not adoptopenjdk8, so I tried that and got:
I tried removing java and reinstalling version 8 using a download from Oracle. The java control panel contains:
The terminal still shows:
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
So I totally confused.
Regards
Keith
On 25 Apr 2019, at 12:17, Laurent Voisin lvoisin@users.sourceforge.netlvoisin@users.sourceforge.net wrote:
Hi Keith,
Oups, I am sorry, I meant Eclipse 4.7.2 which was released in 2018, so not that old.
However, this version of Eclipse is not compatible with Java 11. To run it you will need to install Java 8. On my computer, I have performed the following:
brew cask install adoptopenjdk8
then added the following lines to rodin.app/Contents/Eclipse/rodin.ini:
-vm
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
so that I do not have to pass explicitely this option when launching Rodin.
It is really a pity that almost each new version of Java breaks Eclipse since Java 9.
I planned to make a new release of Rodin in February but did not find the time to do so. Now the plan will be to base it on the latest Eclipse release (2019-03 currently).
Cheers,
Laurent.
[support-requests:#30]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=OjCRxvUUk1VdDzamY8kzwQF79%2B7E7hn%2Fkd%2F6hyhBOas%3D&reserved=0 https://sourceforge.net/p/rodin-b-sharp/support-requests/30/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=OjCRxvUUk1VdDzamY8kzwQF79%2B7E7hn%2Fkd%2F6hyhBOas%3D&reserved=0 Unable to install on Mac OS Mojave
Status: open
Group: v1.0_(example)
Created: Wed Apr 24, 2019 08:16 AM UTC by Keith Lander
Last Updated: Thu Apr 25, 2019 07:58 AM UTC
Owner: nobody
Attachments:
Screenshot 1.png https://sourceforge.net/p/rodin-b-sharp/support-requests/30/attachment/Screenshot%201.pnghttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2Fattachment%2FScreenshot%25201.png&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=GHZKVOXDOfAnUSaGTdgGwAmy2%2Bglg%2B2OIfiXJ4jUDQ0%3D&reserved=0 (118.7 kB; image/png)
Screenshot 2.png https://sourceforge.net/p/rodin-b-sharp/support-requests/30/attachment/Screenshot%202.pnghttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2Fattachment%2FScreenshot%25202.png&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=bTrDpKz6vxYIVUbotGX8xGHQjkT3tI3IbhSIJlyCN1o%3D&reserved=0 (162.6 kB; image/png)
Rodin won't install correctly. I have downloaded the latest version, but when I launch it it fails to set up the working directory at the supplied location (see first screenshot). If I try a different location it also fails, but with a different error (see second screenshot). I have the latest version of Eclipse installed (if that is relevant).
Sent from sourceforge.nethttp://sourceforge.net because you indicated interest in https://sourceforge.net/p/rodin-b-sharp/support-requests/30/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=OjCRxvUUk1VdDzamY8kzwQF79%2B7E7hn%2Fkd%2F6hyhBOas%3D&reserved=0 https://sourceforge.net/p/rodin-b-sharp/support-requests/30/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=OjCRxvUUk1VdDzamY8kzwQF79%2B7E7hn%2Fkd%2F6hyhBOas%3D&reserved=0
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fauth%2Fsubscriptions%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=rlREUh25C8UOYPSoPFFocf4QpIJLgJSnOyZ9rS772kk%3D&reserved=0 https://sourceforge.net/auth/subscriptions/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fauth%2Fsubscriptions%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=rlREUh25C8UOYPSoPFFocf4QpIJLgJSnOyZ9rS772kk%3D&reserved=0
[support-requests:#30]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=OjCRxvUUk1VdDzamY8kzwQF79%2B7E7hn%2Fkd%2F6hyhBOas%3D&reserved=0 Unable to install on Mac OS Mojave
Status: open
Group: v1.0_(example)
Created: Wed Apr 24, 2019 08:16 AM UTC by Keith Lander
Last Updated: Thu Apr 25, 2019 11:17 AM UTC
Owner: nobody
Attachments:
Rodin won't install correctly. I have downloaded the latest version, but when I launch it it fails to set up the working directory at the supplied location (see first screenshot). If I try a different location it also fails, but with a different error (see second screenshot). I have the latest version of Eclipse installed (if that is relevant).
Sent from sourceforge.nethttp://sourceforge.net because you indicated interest in https://sourceforge.net/p/rodin-b-sharp/support-requests/30/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Frodin-b-sharp%2Fsupport-requests%2F30%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=OjCRxvUUk1VdDzamY8kzwQF79%2B7E7hn%2Fkd%2F6hyhBOas%3D&reserved=0
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fauth%2Fsubscriptions%2F&data=01%7C01%7Ccfs%40ecs.soton.ac.uk%7Ccb25d2bc1c9b4b6fb05a08d6c9a5bcb9%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=rlREUh25C8UOYPSoPFFocf4QpIJLgJSnOyZ9rS772kk%3D&reserved=0
Related
Support Requests:
#30Hi Laurent
I've tried a couple more things. I installed eclipse 4.7.2 and, guess what? It failed the same way as Rodin when I tried setting the workspace. Then I saw the comment in this thread from Colin Snook where he says he got Rodin working with a later version of java. So, I reinstalled the latest version of eclipse and added the line he mentions to Rodin.ini (I'd also reinstalled Rodin). When it launches it offers a workspace inside the app contents. This won't work because of permissions, so I changed it to somewhere in Documents. Same problem. Looking at the log file (attached) I see that it is eclipse that is crashing. Is there a clue here with 4.7.2 failing in a similar way? I'm not a Java user and don't know eclipse, so am in unfamiliar territory.
Regards
Keith
Hi
I tried installing Rodin on a different laptop and it worked ok. So, thinking there might be something corrupt on my laptop I did a clean install of Mojave and restored eveything from time machine. However, it is still failing. So I have no idea how to proceed. I was hoping the logs I've sent would give you a clue.
Best
Keith
Dear Keith,
I did have a problem with the latest Java (Java 11) installed on Mac (together with other Java versions). When launching Eclipse/Rodin, it always pick the Java 11 which does not work for Eclispe 4.7.2 and Rodin 3.40. To enforce the correct Java version, I added -vm arguments to rodin.ini. The following two lines must be put just before the -vmargs argument.
-vm
/path/to/JVM
More information on the -vm option is at https://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM
For example, on Mac OS X, the path for Oracle JDK is something like this
/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin
Best regards,
Son
Hi
Thanks for this - just what I was looking for. It's working OK now.
Once again thanks for you help.
Regarda
Keith