You are not logged in.

#1 2012-12-17 20:47:02

bance
Member
From: London, UK
Registered: 2012-07-11
Posts: 8

[SOLVED] mplabx fails to run...

Hi guys,

First post, noob to Arch and looking for some guidance.

I've installed mplabx from the AUR, but it doesn't run....

I followed the wiki step by step, downloading the tar-ball, issuing makepkg and finally pacman -U.

Although the first time my pc crashed partway through makepkg, I re-ran makepkg with the '-f' flag as advised in terminal, the process completed and then I used pacman to install.

After the install, terminal reported that before running mplab I must agree to the LICENSE, I had no idea how to do that so I searched these forums, the only post I could find that

seemed remotely applicable suggested opening the license agreement in a text editor and scrollling through it to the end,which I did    ( not sure if there was a bit of leg pulling going on there:-p )

Anyway mplab simply refuses to run.....

log files show this:-

-------------------------------------------------------------------------------
>Log Session: Monday, December 17, 2012 6:53:13 PM GMT
>System Info:
  Product Version         = MPLAB X IDE v1.51
  Operating System        = Linux version 3.6.10-1-ARCH running on amd64
  Java; VM; Vendor        = 1.6.0_33; Java HotSpot(TM) 64-Bit Server VM 20.8-b03; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_33-b03
  Java Home               = /opt/microchip/mplabx/sys/java/jre1.6.0_33
  System Locale; Encoding = en_GB (mplab); UTF-8
  Home Directory          = /home/bance
  Current Directory       = /home/bance/builds/microchip-mplabx-bin
  User Directory          = /home/bance/.mplab_ide/dev/v1.51
  Installation            = /opt/microchip/mplabx/mplab_ide/mplab_ide
                            /opt/microchip/mplabx/mplab_ide/cnd
                            /opt/microchip/mplabx/mplab_ide/dlight
                            /opt/microchip/mplabx/mplab_ide/harness
                            /opt/microchip/mplabx/mplab_ide/ide
                            /opt/microchip/mplabx/mplab_ide/mdbcore
                            /opt/microchip/mplabx/mplab_ide/mplablibs
                            /opt/microchip/mplabx/mplab_ide/nb
                            /opt/microchip/mplabx/mplab_ide/platform
  Boot & Ext. Classpath   = /opt/microchip/mplabx/sys/java/jre1.6.0_33/lib/resources.jar:/opt/microchip/mplabx/sys/java/jre1.6.0_33/lib/rt.jar:/opt/microchip/mplabx/sys/java/jre1.6.0_33/lib/sunrsasign.jar:/opt/microchip/mplabx/sys/ja$
  Application Classpath   = /opt/microchip/mplabx/mplab_ide/platform/lib/boot.jar:/opt/microchip/mplabx/mplab_ide/platform/lib/org-openide-modules.jar:/opt/microchip/mplabx/mplab_ide/platform/lib/org-openide-util.jar:/opt/microchip/m$
  Startup Classpath       = /opt/microchip/mplabx/mplab_ide/platform/core/org-openide-filesystems.jar:/opt/microchip/mplabx/mplab_ide/platform/core/core.jar:/opt/microchip/mplabx/mplab_ide/bin/../mplab_ide/core/locale/core_mplab.jar:$
-------------------------------------------------------------------------------
java.lang.UnsatisfiedLinkError: /opt/microchip/mplabx/sys/java/jre1.6.0_33/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at org.netbeans.core.startup.Main.start(Main.java:242)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
        at java.lang.Thread.run(Unknown Source)
 

So I suppose there may be a problem with java... but it's a bit over my head at the moment!

Any thoughts or guidance will be much appreciated.

TIA Steve

Last edited by bance (2012-12-18 20:48:19)

Offline

#2 2012-12-18 20:46:35

bance
Member
From: London, UK
Registered: 2012-07-11
Posts: 8

Re: [SOLVED] mplabx fails to run...

OK, a simple reboot has sorted the problem.....

Does java run as a daemon? How would I find out if this is the case?

Marking this as 'solved'....

Last edited by bance (2012-12-18 20:47:34)

Offline

Board footer

Powered by FluxBB