Java & Logisim
Logisim is not working after Catalina update. To open “Logisim” you need to install the legacy Java SE 6 runtime.
Java is not showing on the System Preference. But in terminal it showing I have java 13.
MacBook Pro 13", macOS 10.15
Logisim is not working after Catalina update. To open “Logisim” you need to install the legacy Java SE 6 runtime.
Java is not showing on the System Preference. But in terminal it showing I have java 13.
MacBook Pro 13", macOS 10.15
According to https://java.com/en/download/faq/java_mac.xml , Java 6 has been disabled by Apple on MacOS. You should probably try Java 7 from the java.com or oracle.com sites.
To select another version of Java, you have to set environmental variables
JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home"
JRE_HOME=$JAVA_HOME/jre
JDK_HOME=$JAVA_HOME
export JRE_HOME
export JDK_HOME
export JAVA_HOME
After running these statements
BradleyRossMacBook:~ bradleyross$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
According to https://java.com/en/download/faq/java_mac.xml , Java 6 has been disabled by Apple on MacOS. You should probably try Java 7 from the java.com or oracle.com sites.
To select another version of Java, you have to set environmental variables
JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home"
JRE_HOME=$JAVA_HOME/jre
JDK_HOME=$JAVA_HOME
export JRE_HOME
export JDK_HOME
export JAVA_HOME
After running these statements
BradleyRossMacBook:~ bradleyross$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
I couldn't upload anything so I'm trying to figure out how to upload the files. The additional text option didn't work.
All of the JDK libraries are contained as subdirectories in the directory /Library/Java/JavaVirtualMachines and have the suffix jdk. Although Java 6 is no longer available (it has actually been blocked by the MacOS operating system because of security bugs and some other problems), Java 8 should work as the big changes came with version 9.
see Mac Java installation instructions
Download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/index.html. This will download a dmg file which will mount a virtual device on your system when double-clicked. There is a package file (pkg) file in the virtual device that you can double-click and it will place the appropriate JDK in the JavaVirtualMachines subdirectory.
I had to copy and paste the following files as the "Add text" option didn't seem to work. I realize that this put blank lines after each actual line. However, I'm assuming that the script should work if you cut and paste it into your terminal. Running the script will go through each of the versions of the Java virtual machines, set the environmental variables accordingly. This script will also remove previous referenced JDK versions from the PATH environmental variable and add the appropriate version.
All of the JDK libraries are contained as subdirectories in the directory /Library/Java/JavaVirtualMachines and have the suffix jdk. Although Java 6 is no longer available (it has actually been blocked by the MacOS operating system because of security bugs and some other problems), Java 8 should work as the big changes came with version 9.
see Mac Java installation instructions
Download the JDK from https://www.oracle.com/technetwork/java/javase/downloads/index.html. This will download a dmg file which will mount a virtual device on your system when double-clicked. There is a package file (pkg) file in the virtual device that you can double-click and it will place the appropriate JDK in the JavaVirtualMachines subdirectory.
I had to copy and paste the following files as the "Additional text" option didn't seem to work. I realize that this put blank lines after each actual line. However, I'm assuming that the script should work if you cut and paste it into your terminal. Running the script will go through each of the versions of the Java virtual machines, set the environmental variables accordingly. This script will also remove previous referenced JDK versions from the PATH environmental variable and add the appropriate version.
I went through the whole procedure again. You may have to remove blank and extraneous lines from the script but it seems to have worked.
The fact that Logisim is prompting you to install Java 6 is an indication that it may only work with Java 6 and nothing newer. On Catalina, Java 6, and Apple's Java for OS X 2017-001 installer are now incompatible.
sorry I didn't get the process.
I realized that I forgot to mention changes to the PATH environmental variable. I'm putting together a demonstration shell script that should help explain things.
Thank you.
Please send it.
Java & Logisim