Freek Dijkstra <[EMAIL PROTECTED]> said:
> On 06-08-2004 11:34, Luca Lutterotti wrote to [EMAIL PROTECTED]:
> 
>> I search in the archives not finding anything on the subject.
>> So my problem is the following:
>> - I have fink installed
>> - I use the c-shell, so I have a .cshrc in my home in which fink put
>>   the source /sw/bin/init.csh
>> - With this configuration if I run a java program from the command line
>>   (or launching it as a shell script that uses the terminal app) I always
>>   get a java.lang.NoClassDefFoundError; java does not find my
>>   jars/classes. (But if I run them as a packaged App, no problems).
>> - If I remove from the .cshrc the infamous source /sw/bin/init.csh line
>>   everything is ok and java programs launch correctly.
> [...]
>> if I remember correctly the java classpath on Mac is setup on the fly
>> when you ran java [...]
> 
> As Dan suggested, You can either unset the $CLASSPATH variable just
> after the "source /sw/bin/init.csh" line.
> Alternatively, you can manually set the $CLASSPATH just before that
> line to whatever Apple uses. Personally, I have set it to
> ".:/Library/Java/Extensions".

Yes, it sounds like we should be including those defaults if we do set
CLASSPATH. A Bugs tracker item was just opened for it:

  
http://sourceforge.net/tracker/index.php?func=detail&aid=1005793&group_id=17203&atid=117203

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to