OK, here is my current procedure with R6:
1.) Unzip a "fresh" udig-1.0.1-RC6.macosx.carbon.ppc
2.) Replace distributed $udighome/udig.app/Contents/Info.plist with Info.plist from William K on morning of 17 Aug.
3.) Perform chmod to make $udighome/udig.app/MacOS/udig executable.
4.) Run from $udighome (double-click on udig icon) Result: Momentarily see udig icon in Dock and then it disappears... Open console and see this line: 2005-08-18 09:20:16.605 java[1591] Apple AWT Java VM was loaded on first thread -- can't start AWT.
5.) Run $udighome/udig.app/MacOS/udig after drilling-down into package Result: Receive alert - and output in Terminal window: Petes-Laptop:~/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS pvaziri$ /Users/pvaziri/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS/udig; exit Unrecognized option: -XstartOnFirstThread Could not create the Java virtual machine.
6.) Removed <string>-XstartOnFirstThread</string> from Info.plist
7.) Ran $udighome/udig.app/MacOS/udig after drilling-down into package Result: udig still using -XstartOnFirstThread Petes-Laptop:~/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/macOS pvaziri$ ./udig Unrecognized option: -XstartOnFirstThread Could not create the Java virtual machine.
8.) grep for XstartOnFirstThread Petes-Laptop:~/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents pvaziri$ grep -Rl "XstartOnFirstThread" * MacOS/udig Petes-Laptop:~/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS pvaziri$ grep "XstartOnFirstThread" * Binary file udig matches
Looks like -XstartOnFirstThread is embedded into the udig executable and that is forcing it to quit.
So, my next question is how does it work for William K and not for me?
Any help would be appreciated. Feel free to call.
Thanks, Pete Pete Vaziri Geospatial Web Design/Admin 303-302-8551 www.pixxures.com
On Aug 17, 2005, at 5:06 PM, William K wrote: Did you catch my email this morning about the RC6 release? A bit of a screwup on my part. Grab the Info.plist from that email - replace the Info.plist, the structure is too different to try and repair the released one.
On Aug 17, 2005, at 5:25 PM, Vaziri Pete wrote:
Hi,
Still having problems with R6.
When I double-click on udig I receive the following:
<001.jpg> and the following in the Console log: ===== Wednesday, August 17, 2005 4:03:04 PM America/Denver ===== no Eclipse dict found Unrecognized option: -XstartOnFirstThread Could not create the Java virtual machine.
Same basic thing when I execute it within the package (after setting the execute bit):
Petes-Laptop:~/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS pvaziri$ /Users/pvaziri/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS/udig; exit Unrecognized option: -XstartOnFirstThread Could not create the Java virtual machine.
Even when I remove the XstartOnFirstThread instruction from Info.plist, it returns with:
Petes-Laptop:~/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS pvaziri$ /Users/pvaziri/Desktop/udig-1.0.1-RC6.macosx.carbon.ppc/udig.app/Contents/MacOS/udig; exit Unrecognized option: -XstartOnFirstThread Could not create the Java virtual machine. logout [Process completed]
If I add William K's Eclipse lines to Info.plist and double-click the application icon then I receive:
2005-08-17 16:16:37.580 java[1119] Apple AWT Java VM was loaded on first thread -- can't start AWT.
Same as above when launching it from within the package.
Hope this helps, or let me know if I can provide anything else that might.
Best regards, Pete
Pete Vaziri Geospatial Web Design/Admin 303-302-8551 www.pixxures.com
_______________________________________________ User-friendly Desktop Internet GIS (uDig)
-----
[Trillian] What are you supposed to do WITH a maniacally depressed robot?
[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...
- HitchHiker's Guide to the Galaxy
|