It's all about the answers!

Ask a question

Mac RTC and JRE version and TLSv1.2


Ernest Crvich (19212119) | asked Nov 04 '15, 2:36 p.m.
So apparently the Mac zip distro of RTC (including the latest, 6.0) doesn't honor the -vm argument in eclipse.ini.  It appears to always use the JavaVM in /System/Library/Frameworks/JavaVM.framework/Versions/A, which isn't updated when you install new Oracle versions of the JDK.  That's fixed to Apple Java 6.0, it appears...and googling suggests there is no practical way to get rid of it.  Sadly Apple Java 6 doesn't have support for TLSv1.2, which means secure FTP is not available via Apache's FTPSClient...and thus it's not available via our plugin.

Is there really no way to get RTC to use a JRE of my choice on Mac?

2 answers



permanent link
Ernest Crvich (19212119) | answered Nov 04 '15, 4:09 p.m.
Thanks for the link, Marek, I never came across that in all my hours of searching.  I didn't bother trying the script workaround since the responses say it doesn't work (and it's rather tedious, so not good for advising to customers).  But the answer about setting the -vm arg to point to the jre/lib/server/libjvm.dylib file DOES appear to work (it accepts my osgi.requiredJavaVersion=1.7 setting at last!).  I haven't tested TLSv1.2 yet, but strongly suspect that even Oracle's 6.0 JRE would have had it.

permanent link
Marek Siekierski (817510) | answered Nov 04 '15, 2:43 p.m.
Hi Ernest,

Check out this post.

Can you try using the shell script as a workaround?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.