This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: classpath question
- To: Jeff Sturm <jeff dot sturm at appnet dot com>
- Subject: Re: classpath question
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 14 Sep 2000 01:34:18 -0600
- Cc: "green at cygnus dot com" <green at cygnus dot com>, "'java-discuss at sources dot redhat dot com'" <java-discuss at sources dot redhat dot com>
- References: <01C01B58.9C2953C0.green@cygnus.com> <39BC4FCA.327AA3C9@appnet.com> <874s3jkb6y.fsf@creche.cygnus.com> <39C05B7A.2961596E@appnet.com>
- Reply-To: tromey at cygnus dot com
>>>>> "Jeff" == Jeff Sturm <jeff.sturm@appnet.com> writes:
Jeff> Honestly I wasn't thinking that far ahead, I just want
Jeff> consistent java.class.path settings from compile to runtime
Jeff> without manual intervention. It's needed for packages like Jacl
Jeff> that store various program scripts in the classpath, for
Jeff> example. That should be easy to do.
We should make this the default, but have a way to override it. SunOS
and LD_LIBRARY_PATH show that having the compile- and run-time paths
be necessarily identical is a mistake.
You can already set java.class.path at link time with -D. Maybe we
should set the default in the compiler at link time? Would that be
sufficient?
Tom