Re: Java Cocoa - App doesnt work outside of PB
Re: Java Cocoa - App doesnt work outside of PB
- Subject: Re: Java Cocoa - App doesnt work outside of PB
- From: Pascal Pochet <email@hidden>
- Date: Fri, 12 Apr 2002 14:25:35 +0200
Yes, this is a result of the fact that the Finder sets the working directory
to / while PB sets it to the program location.
The problem is that this behavior is contrary to the definition of
"user.dir" in the Java reference, and this problem occurs only with
CocoaJava applications launched by the Finder, the same application
launched from Terminal has its "user.dir" set correctly and pure Java
applications also work correclty.
Pascal
PS
Somebody knows why the Finder is doing that ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.