[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Jar file not running

Does it work if you just run it within eclipse?  Does
http://www.eclipse.org/swt/faq.php#carbonapp help?

Grant


"Niall" <niallb08@xxxxxxxxxxx> wrote in message
news:1789d0c22257cf769396eb2be7387b41$1@xxxxxxxxxxxxxxxxxx
> Hey,
>
> Ive made a chat program in eclipse for mac with SWT, i exported it to a
> runnable jar file, and tryed to run it. But it crashes straight away with
> this error log:
>
> Date/Time:      2008-07-01 17:22:21.907 +0100
> OS Version:     10.4.11 (Build 8S2167)
> Report Version: 4
>
> Command: java
> Path:
> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java
> Parent:  Jar Launcher [494]
>
> Version: ??? (???)
>
> PID:    495
> Thread: 0
>
> Exception:  EXC_BAD_INSTRUCTION (0x0002)
> Code[0]:    0x0000000d
> Code[1]:    0x00000000
>
>
> Thread 0 Crashed:
> 0   libclient.dylib           0x9b1767e9 JVM_RaiseSignal + 595867
> 1   libclient.dylib           0x9b1768a4 JVM_RaiseSignal + 596054
> 2   libclient.dylib           0x9aeae862 JNI_CreateJavaVM_Impl + 49220
> 3   libclient.dylib           0x9af84e85 JVM_Write + 18645
> 4   libswt-carbon-3347.jnilib 0x0272cd81 callback + 317
> 5   <<00000000>> 0x0166f655 0 + 23524949
> 6   com.apple.CoreFoundation  0x9082dcd6 __CFRunLoopDoObservers + 342
> 7   com.apple.CoreFoundation  0x9082d049 CFRunLoopRunSpecific + 1548
> 8   com.apple.CoreFoundation  0x9082ca36 CFRunLoopRunInMode + 61
> 9   java                      0x000046d8 0x1000 + 14040
> 10  java                      0x00001ee6 0x1000 + 3814
> 11  java                      0x00001e0d 0x1000 + 3597
> ............
>
>
>
>
>
> When i try run it from the terminal (using java -jar XChat.jar) it shows
> the crash error dialog, and displays Illegal instruction.
>
> Thanks,
>
> Niall.
>