Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 29 of 29

Thread: Teensyduino 1.40 Beta #3

  1. #26
    Junior Member
    Join Date
    Oct 2017
    Posts
    8
    Regarding that "Unable to Load Java Runtime Environment" error after install on OSX...I Found Something!

    I tried a brute force removal or replacement of modified package files from the bottom up.

    The last thing I tried was to only replace the Info.plist file with one from a stock installation, This eliminated the error, allowing the IDE to be run, showing the added Teensy content.

    THIS SINGLE FILE DIFFERENCE MAY BE THE ONLY PROBLEM

    Modified Info.plist contains:
    <key>JVMRuntime</key>
    <string>JavaAppletPlugin.plugin</string>

    Stock Info.plist Contains:
    <key>JVMRuntime</key>
    <string>jdk1.8.0_131.jdk</string>


    IDE RUNS OK with the one other Info.plist mod in place:

    <key>CFBundleIdentifier</key>
    <string>cc.arduino.Arduino.teensyduino</string>

  2. #27
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    15,720
    Quote Originally Posted by jake123 View Post
    Stock Info.plist Contains:
    <key>JVMRuntime</key>
    <string>jdk1.8.0_131.jdk</string>
    I just downloaded a fresh copy of arduino-1.8.5-macosx.zip. It's Info.plist has "<string>JavaAppletPlugin.plugin</string>".

    I also downloaded a fresh copy of arduino-1.8.3-macosx.zip from the previous releases page, and it too has "<string>JavaAppletPlugin.plugin</string>".

    Perhaps you have an old download from the (now defunct) Arduino.org website? Or maybe it's a corrupted or infected copy from some other site than Arduino.cc?

    The original "stock" arduino-1.8.5-macosx.zip download has MD5 sum 4a0dd99a006ea91376793a763f2ebd9a. Please download a fresh copy and check it with "md5sum" in a terminal window to verify you have the correct, unaltered download from Arduino.cc.

  3. #28
    Junior Member
    Join Date
    Oct 2017
    Posts
    8
    It must find the current Java installation, I had just installed the latest while troubleshooting, which is the name I was getting in Info.plist.

    One abnormal part of my setup: I have Java 6 runtime installed along with the current version to support some old Applications, perhaps the 2 versions present confuses the name finding mechanism.
    Here's the Apple provided "Legacy" version installer:
    https://support.apple.com/kb/DL1572?locale=en_US

    (I like your packaging with the indestructible pinout card and resealable anti-static bag) I am about to pick up nother board at my local retail store: MicroCenter, Orange County.

  4. #29
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    15,720
    Have you tried with Arduino 1.8.5? It includes its own copy of the JRE.

    I'm pretty sure you downloaded 1.8.3 from Arduino.org. All this stuff about copies of Java on your machine is probably not relevant. If you download the correct copy from Arduino.cc, it is stand-alone and does not use Java from elsewhere on your Mac.

    Again, please download a fresh copy of Arduino 1.8.5. I'm pretty sure it will "just work".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •