Unable to find bundled Java version mac m1

https:‮.www//‬lautturi.com
Unable to find bundled Java version mac m1

If you are receiving an error message stating that you are unable to find the bundled Java version on your Mac with an M1 processor, it is possible that the Java version you are trying to use is not compatible with the M1 processor.

To resolve this issue, you will need to install a version of Java that is compatible with the M1 processor. You can do this by downloading and installing the latest version of the Java Development Kit (JDK) for Mac from the Oracle website.

Once you have installed the JDK, you may need to update your system's PATH environment variable to include the path to the java executable. This will allow you to use the java and javac commands from the command line.

To update your PATH, you can add the following line to your ~/.bash_profile file (or create this file if it doesn't exist):

export PATH="/path/to/java/bin:$PATH"

Replace /path/to/java/bin with the path to the bin directory of the JDK installation.

Once you have updated your PATH, close and reopen your terminal window and try running the java and javac commands again. This should allow you to use the Java compiler and runtime on your Mac with an M1 processor.

Created Time:2017-10-17 22:51:24  Author:lautturi