You can determine which version of the JDK is the default by entering java -version in a Terminal window. If the installed version is 9 Minor 1, Security 1, Patch 1, then you see a string that includes the text 9.1.1.1. For example:
Some applications use /usr/bin/java to call Java. After installing Java for macOS 2012-006, /usr/bin/java will find the newest JDK installed, and will use that for all of the Java-related command-line tools in /usr/bin. You may need to modify those applications to find Java 6, or contact the developer for a newer version of the application.
Java For Os X High Sierra
With my latest update of OSX it knocked out my java6 so I had to go dig up this solution again and came across your question. Not sure whether to put this as an answer or comment, but this solution has worked the best for me:Mac OS X and multiple Java versions
In this step, we will test whether Java is already installed or not. To do so, open the terminal and type java -version as shown in Fig 1. If Java is already installed on the system, it will show the active version details as shown in Fig 1.
Although Java 9 is available, many of my projects are quite still on Java 8. Some of them need changes in Maven POM files, and I just want to get them up and running. So that is why I am sticking to java8 below, but feel free to just say java, and cask will pick the latest (9).
java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.)App info: Line 6 Edit 3.06.0 release - build 104 - Wed Nov 12 15:13:23 PST 2014Date: 9/4/18 11:10 AMIn thread: Thread[AWT-EventQueue-0,6,main]OS: Mac OS X (10.13.4 i386)Java VM Version: 1.6.0_65
java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.) at apple.awt.ComponentModel._handleEvent(Native Method) at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273) at apple.awt.CWindow.handleEvent(CWindow.java:545) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:753) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1000) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:865) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:686) at java.awt.Component.dispatchEventImpl(Component.java:4648) at java.awt.Container.dispatchEventImpl(Container.java:2142) at java.awt.Window.dispatchEventImpl(Window.java:2492) at java.awt.Component.dispatchEvent(Component.java:4604) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97) at java.awt.EventQueue$3.run(EventQueue.java:690) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:687) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1049) at java.awt.Dialog$3.run(Dialog.java:1101) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1099) at cmn.l6java.utils.L6BugReporter.Show(Unknown Source) at cmn.l6java.utils.L6BugReporter.Show(Unknown Source) at cmn.l6java.core.L6Dbg._ex(Unknown Source) at line6editbase.app.L6EditorApp.HandleAppException(Unknown Source) at line6editbase.app.L6EditorApp.HandleException(Unknown Source) at cmn.l6java.core.L6Dbg.ex(Unknown Source) at cmn.l6java.core.L6Dbg.ex(Unknown Source) at cmn.l6java.core.L6Dbg$AWTExceptionHandler.handle(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:412) at java.awt.EventDispatchThread.processException(EventDispatchThread.java:318) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:312) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1049) at java.awt.Dialog$3.run(Dialog.java:1101) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1099) at cmn.l6java.utils.L6BugReporter.Show(Unknown Source) at cmn.l6java.utils.L6BugReporter.Show(Unknown Source) at cmn.l6java.core.L6Dbg._ex(Unknown Source) at line6editbase.app.L6EditorApp.HandleAppException(Unknown Source) at line6editbase.app.L6EditorApp.HandleException(Unknown Source) at cmn.l6java.core.L6Dbg.ex(Unknown Source) at cmn.l6java.core.L6Dbg.ex(Unknown Source) at cmn.l6java.core.L6Dbg$AWTExceptionHandler.handle(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:412) at java.awt.EventDispatchThread.processException(EventDispatchThread.java:318) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:312) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1049) at java.awt.Dialog$3.run(Dialog.java:1101) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1099) at javax.swing.JFileChooser.privateShowDialog(JFileChooser.java:758) at javax.swing.JFileChooser.access$000(JFileChooser.java:75) at javax.swing.JFileChooser$1.run(JFileChooser.java:729) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Sort of a workaround - you can still edit tunings, just can't change names (get error when you touch keyboard), I opened up a different program (used Sticky notes) and typed new name and then copied it (cmd+C). When you go to workbench to paste it (cmd+V) you will still get the error message. However, keep holding cmd and press continue on error message. The name will still be highlighted and when you press V (while still holding cmd) it will paste the new name. You can then send it to Variax. Still messing around with it, but thought I would pass this along.
Note: The 1.8.0_25.jdk part should be replaced by whatever Java version you have installed if you have a different version to 1.8. To check which version of Java you have installed simply type: java -version in Terminal:
I am running 10.13.1 High Sierra Beta, and I cannot remove the java. I keep getting a newer version is installed on my machine warning.Are there different approaches in High Sierra compared to Sierra, etc? I tried the Terminal solutions, and tried remove all the Java stuff from Library. No luck.I need the older version because of a program that I have to run for work.Thanks
Jim can be installed on 64-bit Apple Mac computers (with either an Intel or an Apple M1 processor) running Mac OS 10.13 (High Sierra) or later. Installation of Jim is in six stages: Install Java Install the Jim software Request a license Install the license Customise the installation (optional) Download some example images (optional) Installing Java. You must have 64-bit Java version 17 installed, which can be downloaded from Oracle. Jim will only run with Java 17. On Macs with Intel processors, you need to install the x64 version of Java; on Macs with Arm 64 (M1) processors, you need to install the Arm 64 (AArch64) version of Java. There may be multiple versions of Java on your computer, but you can specify which one to use when you install Jim. Drag the downloaded Java install file to your Desktop, then open a terminal window (use Finder to search for "terminal" if you are not sure how to do this) and type the following commands: cd /Library/Java/JavaVirtualMachinessudo tar xvf /Desktop/*jdk-17*.tar.gz This will install Java 17 to /Library/Java/JavaVirtualMachines.
Installing Jim. Download the Jim jim-9-installer.jar from this link. When the download is complete, drag the downloaded file onto your Desktop. Next, in the terminal window type: sudo /Library/Java/JavaVirtualMachines/jdk-17*.jdk/Contents/Home/bin/java -jar /Desktop/jim-9-installer.jar This will launch the installer, and install Jim in /Applications/Xinapse/Jim9. Note: on Mac OS 10.9 or later, you may see an error like the one below: Click the 'OK' button, and then from the Apple menu, select "System Preferences ..." Then click on the 'Security & Privacy' icon: This will bring up the Security & Privacy settings: Click lock, then the 'Open Anyway' button, which will enable Jim's installer to run.
License request. The easiest way to obtain the details needed to send for a license is to try starting Jim. If you have not yet received a license file, you will see a pop-up error dialog like the one shown below. 2ff7e9595c
Comments