Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: Teensyduino 1.3.5 Installation Problem on MacOS 10.12.3

  1. #1
    Junior Member
    Join Date
    Jun 2016
    Posts
    3

    Teensyduino 1.3.5 Installation Problem on MacOS 10.12.3

    Hi everybody!

    After a few month of absence from Teensy development, I decided to update the development tools.

    This installation takes place on MacOS 10.12.3 "Sierra"

    Arduino 1.8.1 installs nicely and is running. I started it once after installation as suggested in the instructions.

    Then I installed Teensyduino 1.35 on top of it. I point the installer to the Arduino.app, it recognizes Arduino 1.8.1 and installation starts.

    When I start Arduino now, I just get an "Unable to load Java Runtime Environment." message.

    I deleted Arduino.app and started over a few times now, no change. Am I missing something? Anybody working with these versions of Arduino/Teensyduino on MacOS Sierra ?

  2. #2
    Senior Member Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    632
    I had that once, but a few years (and Teensyduino releases) ago. Using the disk utility and fixing the permissions after the Arduino but before the Teensyduino install did the trick.

    Recently, I installed Arduino 1.8.1 from scratch and Teensyduino 1.36 beta on top of it under OSX 10.12.4 beta without problems.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    13,324
    Anyone else using 10.12.3 on their Mac?

    I'll update my test mac soon and give this a try. At the moment, my workbench is covered in USB host dev stuff and lots of USB things I'm trying with it.....

  4. #4
    Junior Member
    Join Date
    Jun 2016
    Posts
    3
    I solved the problem. My "mistake" was to unzip the Arduino IDE with 'The Unarchiver'.

    When using unzip everything is fine! There is a difference in the warning dialog when opening Arduino for the first time.
    Using The Unarchiver macOS says "This file was created by The Unarchiver on an unknown date" (translated from german)
    With unzip it says "Google Chrome.app downloaded this file <time of downloading> from www.arduino.org".

    From a security point of view its reasonable to say this file was created by The Unarchiver, because you can't be sure that you purely get on your machine what you downloaded. You also have to trust your unzip program, as it could add or manipulate something while unpacking. Strange to me that Arduino.app runs after unpacking but not after patching with Teensyduino. But maybe you understand why that's happening?

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    13,324
    Quote Originally Posted by olieske View Post
    Strange to me that Arduino.app runs after unpacking but not after patching with Teensyduino. But maybe you understand why that's happening?
    There's a signature on the Arduino app bundle which becomes invalid when lots of extra files are added and a few of the existing files are changed.

    That's why you need to run it at least once, to pass the question about downloaded from the internet. Current versions of MacOS don't mind if the signature isn't valid, as long as you've already approved, and the files are still in the same location.

    At some point in the (hopefully distant) future, an update to MacOS is likely to reject the modified software even after you've approved. When/if that happens, I'll need to adapt the installer. Maybe I'll disable the choices of which libraries to install on Mac, so the result is always a fixed set of data I can sign. Or maybe the Mac version will have to just become a completely separate copy of Arduino.

    Or perhaps in a very distant future, I'll work more closely with the Arduino devs to have some way for Teensyduino's special patches to install by their boards manager or some other method.

    For now, I'm hoping this approach will remain good enough. Redoing how the mac version installs would be a huge distraction from so many much interesting projects, like the USB ECHI host I'm doing now, and a long list of awesome audio features people have requested, and native ethernet, and much-needed website improvements, and....

  6. #6
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    756
    Quote Originally Posted by PaulStoffregen View Post
    Anyone else using 10.12.3 on their Mac?

    I'll update my test mac soon and give this a try.
    I updated to 10.12.3 recently and was worried about this but Arduino with Teensyduino worked the same way as it always have when I downloaded and installed them. Though my next computer I purchase is going to run linux, macOS is starting to be more fluff than substance and not mention they really haven't updated their computer hardware in long time anyway.

  7. #7
    Junior Member
    Join Date
    Feb 2017
    Posts
    1

    Same Problem

    I'm using 10.12.3 Sierra on my Mac, and have just tried to update the Arduino IDE (1.8.1) and Teensyduino (1.35).

    The Arduino IDE worked fine when tested, until I installed Teensyduino and then the "Unable to Load Java Runtime Environment" message started to appear. I have the latest versions of both, and the latest JRE 8u121 too...

    Is Teensyduino dependent on a previous version of the JRE?

    Cheers
    Steve

  8. #8
    Senior Member
    Join Date
    Dec 2016
    Posts
    257
    Quote Originally Posted by duff View Post
    macOS is starting to be more fluff than substance and not mention they really haven't updated their computer hardware in long time anyway.
    They seem to be more interested releasing OSX updates every 6 months for "features" to take people's minds off their low tech. This is why some people install "hackintosh". PC hardware is more faster than mac at a fraction of the cost.

Posting Permissions

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