¿ªÔÆÌåÓý

Locked Re: Latest JMRI with Java 6 on Mac OS


 

Hello all,

I have had some offline discussions with Dave and Randall about this issue and with their guidance and some additional research of my own have the following to report. Below is an excerpted email I sent to them both with only the relevant things for this discussion left in.


I finally had a chance to sit down and work through the Java 6 thing with CS6 (Illustrator, Photoshop and from memory Indesign all squeal if java 6 not installed - I¡¯ll refer to them collectively as CS6 from now on). I first started by completely removing all versions of Java from my machine. This was verified by typing java_version into terminal which confirmed no system managed java existed, I didn't check with the online java version tool to ensure Java 8 had gone too but I rebooted and tried CS6 and JMRI - as expected they wouldn't startup and asked for Java - Java 6 in CS6 instance.


At this point I disabled SIP (search SIP disable for mac OS as I/m not telling you how to do it as it comes with some risks too - be sure to read the warnings and take heed) and then ran the following terminal commands. This creates empty directories
sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle


At this point I tried CS6 and all looked promising as each application launched and with some very basic tests seemed to function as expected. Needless to say JMRI didn't.


I then re enabled SIP and tried all again - still good. I then noticed there were some trash files which I tried to empty, however some how a file vecmath.jar (part of an old Java Apple Install - Thanks Randall) ended up in trash and due to permissions I couldn't delete it, quick trip back through disable SIP and was able to delete, then reenabled, reboot and back to CS6 all working still. This may have been a wrinkle with my machine and may not happen with yours.


I downloaded Java 8.101 and installed without hitch, launched CS6 apps (full suite) and all launched, then JMRI and it too is fine. System managed java still reporting as not installed too via terminal


My JMRI is still at 4.4-R1cc76b as this is what was on machine before the Java hack.


The above is relevant from a variety of angles , you can run latest JMRI and still use the last perpetual licensed version of Adobe Creative Suite, at least on fully updated El Capitan. Once all is good my next step it to upgrade JMRI and finally to Sierra, there are other tools I use with need to run too (not relevant for this list though)


I wanted to publicly thank these two guys, and the JMRI group as they provide wonderful software and great support when you ask.


Simon
Melbourne Australia

---In jmriusers@..., <rhwood@...> wrote :

See < > to fix your issue since Adobe Illustrator CS6 has no need for Java 6 (Illustrator just stupidly checks for its presence because maybe a plugin might want it).

Note also that Apple has forcibly removed Java 6 on every update since Lion (since it is long past end of life (even for those willing to pay for support) and insecure) and has informed developers that Sierra will not allow it to be used (since it is long past end of life (even for those willing to pay for support) and insecure).

Randall

On Oct 5, 2016, at 1:40 AM, up_sbrown@... mailto:up_sbrown@... [jmriusers] <jmriusers@... mailto:jmriusers@...> wrote:
>
> What is latest version of JMRI that will run with Java 6 installed.
> I refuse to pay Adobe the "privilege" of a cloud based service and and am remaining on CS6 for the foreseeable future which MUST have Java 6 to run. I haven't yet looked to see if there is a work around for this but at present this is the staus quo.
> My other option is to use a VM specifically for JMRI
> Thanks to all for the hard work

>
> Simon
>

Join [email protected] to automatically receive all group messages.