Giter VIP home page Giter VIP logo

Comments (4)

joshmc82 avatar joshmc82 commented on June 16, 2024 1

@narupley yep, here's what I ran specifically to set the environment var:
echo 'export INSTALL4J_JAVA_HOME=/Users/josh/.sdkman/candidates/java/current' >> ~/.zshenv
When I open a new terminal, I can run printenv to show all of the environment vars set.
It would be nice to have it just use the JVM at JAVA_HOME (if set). That would more or less avoid all of the issues.

from connect.

joshmc82 avatar joshmc82 commented on June 16, 2024

Update: if I edit the launcher script in a text editor and uncomment the line for INSTALL4J_JAVA_HOME_OVERRIDE and set it to the same path as my JAVA_HOME environment variable used by the OS, it works fine. Note that setting an environment variable on the OS for INSTALL4J_JAVA_HOME does nothing and it will still use the bundled JRE and crash.

from connect.

narupley avatar narupley commented on June 16, 2024

If you're setting an environment variable on macOS, make sure you're actually setting it for all shells. Just exporting an env var in a terminal window won't do it, you'd need to add it to like bash_profile or something.

Before release we had multiple people test it out on Monterey+ without any issues... but clearly there are still some moles left to whack.

My best guess is that it's an aarch64 issue, not a Monterey issue. We know there are things to iron out there still, like replacing what JRE is bundled with the app!

from connect.

ChristopherSchultz avatar ChristopherSchultz commented on June 16, 2024

My best guess is that it's an aarch64 issue, not a Monterey issue. We know there are things to iron out there still, like replacing what JRE is bundled with the app!

The log files say vm_info: Java HotSpot(TM) 64-Bit Server VM (25.181-b13) for bsd-amd64 JRE (1.8.0_181-b13), built on Jul 7 2018 01:02:31 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) so it's definitely the x86-64 build of the JVM. I would say this is likely to be a JVM bug or a bad interaction between this JVM and Rosetta on the aarch64 platform. The best Mirth could do (in the short-term) would be to upgrade to the latest hassle-free-license Java 1.8 JVM and see if this crash stops happening. Better yet, switch to an aarch64 JVM which would also necessitate a major upgrade of the JVM version which might be risky.

from connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.