natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url.

* java/lang/natRuntime.cc (insertSystemProperties): Set
	gnu.classpath.home.url.
	* Makefile.in: Rebuilt.
	* Makefile.am: Define LIBDIR.

From-SVN: r64905
This commit is contained in:
Tom Tromey 2003-03-26 22:31:52 +00:00 committed by Tom Tromey
parent de132314bc
commit 1c81e34352
4 changed files with 15 additions and 2 deletions

View file

@ -422,6 +422,12 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops)
// redefine `java.home' with `-D' if necessary.
SET ("java.home", PREFIX);
SET ("gnu.classpath.home", PREFIX);
// This is set to $(libdir) because we use this to find .security
// files at runtime.
char val2[sizeof ("file://") + sizeof (LIBDIR) + 1];
strcpy (val2, "file://");
strcat (val2, LIBDIR);
SET ("gnu.classpath.home.url", val2);
SET ("file.encoding", default_file_encoding);