JVM terminated. Exit code = 13

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JVM terminated. Exit code = 13

1,163 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Audiomonster on Mon Dec 21 23:49:56 MST 2009
Hi,

I just received my LPCXPRESSO for LPC1114.
I downloaded lpcxpresso_3.1.2_132.exe from the website and installed it.

Unfortunately, it does not start (see attached picture).
I am using windows XP SP2, I have administrator rights.
I don't have a previous Java Runtime Environment version installed on my computer.

Hopefully someone can help, I am stuck :confused:
0 Kudos
Reply
4 Replies

1,082 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Audiomonster on Thu Dec 24 10:52:16 MST 2009
Well, Santa Claus (or is it the devil ?) is going to bring me Windows 7, so it will probably fix that weird issue for me :)

Thanks !
0 Kudos
Reply

1,082 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Dec 23 02:12:22 MST 2009
Hi Audiomonster,

There is not a lot of information in this log, but from what I can work out, it looks like there might be some sort of permissions problem. Can you tell me if you are running as a user with administrator privileges? If not, could you try running as the administrator?

Also, could you see if there are any .log files in the \nxp\lpcxpresso_3.1\eclipse\configuration directory? If so, could you please email the latest .log file to support at code-red-tech.com?

To answer your other questions:
- yes, you can compile from the command line. To set up the command line environment, execute the command file \nxp\lpcxpresso_3.1\LPCXpressoPath.cmd. This add the appropriate paths so you can use make (etc) and all necessary tools

- there is currently no way to program directly from the command line to a standard LPCXpresso board. You could use GDB and the supplied debug driver (which is what the IDE does), but you need to activate your product first, and that can only be done uing the IDE.
0 Kudos
Reply

1,082 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Audiomonster on Tue Dec 22 23:29:00 MST 2009
Please see the log below (thanks for helping).

Is there a way to compile the examples from the command line ?
I presume there is since it uses arm-none-eabi-gcc.
I know I won't need to use JTAG debugger at the beginning to evaluate my solution.
Once compiled, is there a way to program the LPC1114 flash from the command line, via the MassDFU driver ? Maybe using DFUAPP.exe ?
I guess Eclipse invokes some kind of tool like this ?



Start VM: -Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
-Djava.class.path=C:\nxp\lpcxpresso_3.1\eclipse\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher C:\nxp\lpcxpresso_3.1\eclipse\lpcxpresso.exe
-name Lpcxpresso
--launcher.library C:\nxp\lpcxpresso_3.1\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup C:\nxp\lpcxpresso_3.1\eclipse\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-debug
-consolelog
-vm C:\nxp\lpcxpresso_3.1\eclipse\jre\bin\client\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
-Djava.class.path=C:\nxp\lpcxpresso_3.1\eclipse\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
Install location:
    file:/c:/nxp/lpcxpresso_3.1/eclipse/
Configuration file:
    file:/c:/nxp/lpcxpresso_3.1/eclipse/configuration/config.ini loaded
An exception occurred while writing to the platform log:
java.lang.NullPointerException
        at org.eclipse.equinox.launcher.Main.openLogFile(Main.java:2357)
        at org.eclipse.equinox.launcher.Main.log(Main.java:2190)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1322)
Logging to the console instead.
!ENTRY org.eclipse.equinox.launcher 4 0 2009-12-22 22:19:24.298
!MESSAGE Exception launching the Eclipse Platform:
An exception occurred while writing to the platform log:
java.lang.NullPointerException
        at org.eclipse.equinox.launcher.Main.openLogFile(Main.java:2357)
        at org.eclipse.equinox.launcher.Main.log(Main.java:2190)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1323)
Logging to the console instead.
!STACK
java.lang.UnsatisfiedLinkError: C:\nxp\lpcxpresso_3.1\eclipse\jre\bin\net.dll: A dynamic link library (DLL) initialization routine failed
        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 java.net.InetAddress.<clinit>(Unknown Source)
        at sun.security.provider.SeedGenerator$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.security.provider.SeedGenerator.getSystemEntropy(Unknown Source)
        at sun.security.provider.SecureRandom.engineNextBytes(Unknown Source)
        at java.security.SecureRandom.nextBytes(Unknown Source)
        at java.security.SecureRandom.next(Unknown Source)
        at java.util.Random.nextLong(Unknown Source)
        at java.io.File.generateFile(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at org.eclipse.equinox.launcher.Main.canWrite(Main.java:1191)
        at org.eclipse.equinox.launcher.Main.computeDefaultConfigurationLocation(Main.java:1173)
        at org.eclipse.equinox.launcher.Main.getConfigurationLocation(Main.java:1589)
        at org.eclipse.equinox.launcher.Main.processConfiguration(Main.java:1645)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:490)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
0 Kudos
Reply

1,082 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Dec 22 03:42:20 MST 2009
Hi,

This is not a problem we have seen before. Can you
- open a command line window,
- change to the directory nxp\lpcxpresso_3.1\eclipse and
- run lpcxpresso with the following options:
lpcxpresso -debug -consolelog

This will start the product and create a new console window with a lot of messages. Could you post the contents of the window (preferably the text, not a screenshot)

Thanks
0 Kudos
Reply