MPLAB® X IDE 3.00 will not start on Linux®.

There is a bug in the version of NetBeans that MPLAB® X IDE is based upon that causes problems when running with GTK 3.3.4.

As a workaround for NetBeans BUG 2749, skip initializing GTK+ LAF (Look and Feel). Otherwise, in Java 7 on a platform with GTK+ 3.3.4 or later (e.g. Gnome desktop environment on Linux), running a SWT/GTK+ based-application causes the application to exit with: GThread-ERROR **: GThread system may only be initialized once. aborting. This isn't a problem on GTK+ 2.x based desktop environments such as XFCE.

There are two ways to change the LAF used by MPLAB X IDE:

1. Run MPLAB X IDE with a command line option:

/opt/microchip/mplabx/v3.00/mplab_ide/bin/mplab_ide --laf Nimbus

2. Change the mplabx.conf file:

  • The file may be found at: /opt/microchip/mplabx/v3.00/mplab_ide/etc/mplab_ide.conf.
  • Open the file as root in your favorite editor and find the line starting with default_options=.
  • Add the following to the space separated list of parameters within the quote marks:
--laf javax.swing.plaf.nimbus.NimbusLookAndFeel

You should have something like the following when you are done:
default_options=" -J-Xss2m -J-Xms256m -J-XX:PermSize=128m -J-XX:MaxPermSize=384m -J-XX:+CMSClassUnloadingEnabled -J-Dapt.limit.expanded.params=1000 -J-Dplugin.manager.check.interval=EVERY_DAY --laf javax.swing.plaf.nimbus.NimbusLookAndFeel"
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.