Here is the error that I get. it loads quite a few things but then after a while it just crashes. It seems to work fine if I run it using just the .jar file but since I want to increase the amount of ram that it gets using the .sh file, this seems to happen.
013-08-01 22:22:11.252 java[11953:2517] JavaNativeFoundation error occurred obtaining Java exception description
2013-08-01 22:22:11.253 java[11953:2517] Internal JNF Error: failed calling Throwable.toString()
2013-08-01 22:22:11.279 java[11953:2517] (
0 CoreFoundation 0x00007fff879eab06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff897763f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff87a7ef49 -[NSException raise] + 9
3 JavaNativeFoundation 0x000000010ff01fbb JNFLookupClass + 61
4 JavaNativeFoundation 0x000000010ff020a3 JNFLookupMemberID + 32
5 JavaNativeFoundation 0x000000010ff032e6 JNFNewObject + 146
6 libawt.jnilib 0x00000001198b11a4 nsEventToJavaEvent + 1586
7 libawt.jnilib 0x00000001198b0a29 +[EventFactory forwardEvent:toTarget:] + 152
8 libawt.jnilib 0x00000001198adb8d +[CWindow mouseUpdateNotification:] + 1941
9 AppKit 0x00007fff89e74983 -[NSWindow sendEvent:] + 7994
10 libawt.jnilib 0x00000001198a9a0c -[CocoaAppWindow sendEvent:] + 185
11 AppKit 0x00007fff89e7032c -[NSApplication sendEvent:] + 4969
12 AppKit 0x00007fff89d8621a -[NSApplication run] + 636
13 libawt.jnilib 0x00000001198846e0 +[AWTStarter startAWT:] + 1495
14 libawt.jnilib 0x000000011988405a -[CPerformer perform] + 93
15 Foundation 0x00007fff87d835ca __NSThreadPerformPerform + 225
16 CoreFoundation 0x00007fff87969b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x00007fff87969455 __CFRunLoopDoSources0 + 245
18 CoreFoundation 0x00007fff8798c7f5 __CFRunLoopRun + 789
19 CoreFoundation 0x00007fff8798c0e2 CFRunLoopRunSpecific + 290
20 java 0x000000010f5ed843 java + 18499
21 java 0x000000010f5ed29a java + 17050
22 java 0x000000010f5eaa98 java + 6808
23 ??? 0x0000000000000005 0x0 + 5
)
2013-08-01 22:22:17.071 java[11953:2517] JavaNativeFoundation error occurred obtaining Java exception description
2013-08-01 22:22:17.072 java[11953:2517] Internal JNF Error: failed calling Throwable.toString()
2013-08-01 22:22:17.073 java[11953:2517] (
0 CoreFoundation 0x00007fff879eab06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff897763f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff87a7ef49 -[NSException raise] + 9
3 JavaNativeFoundation 0x000000010ff01fbb JNFLookupClass + 61
4 JavaNativeFoundation 0x000000010ff020a3 JNFLookupMemberID + 32
5 JavaNativeFoundation 0x000000010ff032e6 JNFNewObject + 146
6 libawt.jnilib 0x00000001198b11a4 nsEventToJavaEvent + 1586
7 libawt.jnilib 0x00000001198b0a29 +[EventFactory forwardEvent:toTarget:] + 152
8 libawt.jnilib 0x00000001198adced +[CWindow mouseUpdateNotification:] + 2293
9 AppKit 0x00007fff89e74983 -[NSWindow sendEvent:] + 7994
10 libawt.jnilib 0x00000001198a9a0c -[CocoaAppWindow sendEvent:] + 185
11 AppKit 0x00007fff89e7036f -[NSApplication sendEvent:] + 5036
12 AppKit 0x00007fff89d8621a -[NSApplication run] + 636
13 libawt.jnilib 0x00000001198846e0 +[AWTStarter startAWT:] + 1495
14 libawt.jnilib 0x000000011988405a -[CPerformer perform] + 93
15 Foundation 0x00007fff87d835ca __NSThreadPerformPerform + 225
16 CoreFoundation 0x00007fff87969b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x00007fff87969455 __CFRunLoopDoSources0 + 245
18 CoreFoundation 0x00007fff8798c7f5 __CFRunLoopRun + 789
19 CoreFoundation 0x00007fff8798c0e2 CFRunLoopRunSpecific + 290
20 java 0x000000010f5ed843 java + 18499
21 java 0x000000010f5ed29a java + 17050
22 java 0x000000010f5eaa98 java + 6808
23 ??? 0x0000000000000005 0x0 + 5
013-08-01 22:22:11.252 java[11953:2517] JavaNativeFoundation error occurred obtaining Java exception description
2013-08-01 22:22:11.253 java[11953:2517] Internal JNF Error: failed calling Throwable.toString()
2013-08-01 22:22:11.279 java[11953:2517] (
0 CoreFoundation 0x00007fff879eab06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff897763f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff87a7ef49 -[NSException raise] + 9
3 JavaNativeFoundation 0x000000010ff01fbb JNFLookupClass + 61
4 JavaNativeFoundation 0x000000010ff020a3 JNFLookupMemberID + 32
5 JavaNativeFoundation 0x000000010ff032e6 JNFNewObject + 146
6 libawt.jnilib 0x00000001198b11a4 nsEventToJavaEvent + 1586
7 libawt.jnilib 0x00000001198b0a29 +[EventFactory forwardEvent:toTarget:] + 152
8 libawt.jnilib 0x00000001198adb8d +[CWindow mouseUpdateNotification:] + 1941
9 AppKit 0x00007fff89e74983 -[NSWindow sendEvent:] + 7994
10 libawt.jnilib 0x00000001198a9a0c -[CocoaAppWindow sendEvent:] + 185
11 AppKit 0x00007fff89e7032c -[NSApplication sendEvent:] + 4969
12 AppKit 0x00007fff89d8621a -[NSApplication run] + 636
13 libawt.jnilib 0x00000001198846e0 +[AWTStarter startAWT:] + 1495
14 libawt.jnilib 0x000000011988405a -[CPerformer perform] + 93
15 Foundation 0x00007fff87d835ca __NSThreadPerformPerform + 225
16 CoreFoundation 0x00007fff87969b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x00007fff87969455 __CFRunLoopDoSources0 + 245
18 CoreFoundation 0x00007fff8798c7f5 __CFRunLoopRun + 789
19 CoreFoundation 0x00007fff8798c0e2 CFRunLoopRunSpecific + 290
20 java 0x000000010f5ed843 java + 18499
21 java 0x000000010f5ed29a java + 17050
22 java 0x000000010f5eaa98 java + 6808
23 ??? 0x0000000000000005 0x0 + 5
)
2013-08-01 22:22:17.071 java[11953:2517] JavaNativeFoundation error occurred obtaining Java exception description
2013-08-01 22:22:17.072 java[11953:2517] Internal JNF Error: failed calling Throwable.toString()
2013-08-01 22:22:17.073 java[11953:2517] (
0 CoreFoundation 0x00007fff879eab06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff897763f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff87a7ef49 -[NSException raise] + 9
3 JavaNativeFoundation 0x000000010ff01fbb JNFLookupClass + 61
4 JavaNativeFoundation 0x000000010ff020a3 JNFLookupMemberID + 32
5 JavaNativeFoundation 0x000000010ff032e6 JNFNewObject + 146
6 libawt.jnilib 0x00000001198b11a4 nsEventToJavaEvent + 1586
7 libawt.jnilib 0x00000001198b0a29 +[EventFactory forwardEvent:toTarget:] + 152
8 libawt.jnilib 0x00000001198adced +[CWindow mouseUpdateNotification:] + 2293
9 AppKit 0x00007fff89e74983 -[NSWindow sendEvent:] + 7994
10 libawt.jnilib 0x00000001198a9a0c -[CocoaAppWindow sendEvent:] + 185
11 AppKit 0x00007fff89e7036f -[NSApplication sendEvent:] + 5036
12 AppKit 0x00007fff89d8621a -[NSApplication run] + 636
13 libawt.jnilib 0x00000001198846e0 +[AWTStarter startAWT:] + 1495
14 libawt.jnilib 0x000000011988405a -[CPerformer perform] + 93
15 Foundation 0x00007fff87d835ca __NSThreadPerformPerform + 225
16 CoreFoundation 0x00007fff87969b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x00007fff87969455 __CFRunLoopDoSources0 + 245
18 CoreFoundation 0x00007fff8798c7f5 __CFRunLoopRun + 789
19 CoreFoundation 0x00007fff8798c0e2 CFRunLoopRunSpecific + 290
20 java 0x000000010f5ed843 java + 18499
21 java 0x000000010f5ed29a java + 17050
22 java 0x000000010f5eaa98 java + 6808
23 ??? 0x0000000000000005 0x0 + 5