82549

not able to open jmc for java version jdk1.8.0_191.jdk

Question:

I have a mac system. Whenever i try to open java JMC, it doesn't open. I can just see maximise, minimise and close buttons for the dialog box. The jdk version im using is jdk1.8.0_191.jdk.

Answer1:

This is unfortunately a bug that we recently discovered, caused by incompatibilities between old Eclipse/SWT versions and new fixes done in JDK 8u152 (backported from JDK 9).

Workaround is to run older version of JDK 8, or the latest version of JDK 7 (which includes the same version of JMC). JDK 9 also works, with the new JMC 6 included.

(Oracle Internal) bug reference: JMC-5139

or

There's a workaround for this, as mentioned by @jwatkins in a comment.

Download the swt cocoa jar from here. Go to JDKs jmc path (You can find this path by right-clicking on jmc icon in the dock -> Options -> Show in Finder, Then right click on App -> Show Package Contents). For example: cd /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol Back up exisiting jar using sudo mv plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar ../ Copy downloaded zip's swt.jar using sudo cp ~/Downloads/swt.jar plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar Restart jmc

it works for 1.8.0_171

Recommend

  • How to connect to TLS 1.2 enabled URL with Java [closed]
  • Dropping support for JRE 1.3
  • Read File Content Line by Line from byte[] in Groovy
  • Java Date object constructor for getting string is deprecated
  • “Complex Header” not responsive in current DataTables.net build?
  • How to enable Drag a Marker (Android Map Api v2) after a single Touch?
  • How do I fix “The program issued a command but the command length is incorrect.” error when calling
  • How to get to older Xcode beta version?
  • Error Processing Request: Mage registry key “_singleton/inchoo_notes/feed_updates” already exists
  • Base64 as method of sanitizing user input for Mysql
  • What version of Java should I use with Cassandra 2.0?
  • What is the reason that Policy.getPolicy() is considered as it will retain a static reference to the
  • Mocha throws unexpected token error for ES6 object spread operator
  • SQL: Getting the physical size of a subset of a table
  • ZipList with Scalaz
  • Retaining data after updating application
  • how to populate a SQLite database and use that database in phonegap?
  • Implement JwtBearer Authentication in NSwag SwaggerUi
  • How to handle elastic beanstalk deployment so it uploads only changed files
  • KnockoutObservableArray with typed elements in TypeScript
  • How to get links to open in the native browser in iOS Meteor apps?
  • Casting between Interfaces and Classes
  • Android Studio Can't Find tools.jar
  • Filter strings with regex before casting to numeric
  • How to make jdk.nashorn.api.scripting.JSObject visible in plugin [duplicate]
  • gspread or such: help me get cell coordinates (not value)
  • Does it make sense to call System.gc() and Thread.sleep() when working on Bitmaps?
  • How to define custom class, title, and target in Link Browser for content elements and the new rte_c
  • azure media services - The request body is too large and exceeds the maximum permissible limit
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • javaw.exe and eclipse startup problems
  • How to recover from a Spring Social ExpiredAuthorizationException
  • ILMerge & Keep Assembly Name
  • Can I have the cursor start on a particular column by default in jqgrid's edit mode?
  • Large data - storage and query
  • WOWZA + RTMP + HTML5 Playback?
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?