re PR libgcj/3059 (System doesn't set java.home property)
Fix for PR libgcj/3059: * java/lang/natSystem.cc (init_properties): Define `java.home'. * Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Define PREFIX. From-SVN: r43040
This commit is contained in:
parent
acb5223fb5
commit
4c399c87ef
4 changed files with 16 additions and 4 deletions
|
@ -320,8 +320,11 @@ java::lang::System::init_properties (void)
|
|||
SET ("java.specification.name", "Java(tm) Language Specification");
|
||||
SET ("java.specification.vendor", "Sun Microsystems Inc.");
|
||||
|
||||
// FIXME: how to set this given location-independence?
|
||||
// SET ("java.home", "FIXME");
|
||||
// This definition is rather arbitrary: we choose $(prefix). In
|
||||
// part we do this because most people specify only --prefix and
|
||||
// nothing else when installing gcj. Plus, people are free to
|
||||
// redefine `java.home' with `-D' if necessary.
|
||||
SET ("java.home", PREFIX);
|
||||
|
||||
SET ("file.encoding", default_file_encoding);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue