84 |
defaultProperties.put("gnu.classpath.version", |
defaultProperties.put("gnu.classpath.version", |
85 |
Configuration.CLASSPATH_VERSION); |
Configuration.CLASSPATH_VERSION); |
86 |
|
|
87 |
|
// Set base URL if not already set. |
88 |
|
if (defaultProperties.get("gnu.classpath.home.url") == null) |
89 |
|
defaultProperties.put("gnu.classpath.home.url", |
90 |
|
"file://" + Configuration.CLASSPATH_HOME + "/lib"); |
91 |
|
|
92 |
|
// Set short name if not already set. |
93 |
|
if (defaultProperties.get("gnu.classpath.vm.shortname") == null) |
94 |
|
{ |
95 |
|
String value = defaultProperties.getProperty("java.vm.name"); |
96 |
|
int index = value.lastIndexOf(' '); |
97 |
|
if (index != -1) |
98 |
|
value = value.substring(index + 1); |
99 |
|
defaultProperties.put("gnu.classpath.vm.shortname", value); |
100 |
|
} |
101 |
|
|
102 |
defaultProperties.put("gnu.cpu.endian", |
defaultProperties.put("gnu.cpu.endian", |
103 |
VMSystem.isWordsBigEndian() ? "big" : "little"); |
VMSystem.isWordsBigEndian() ? "big" : "little"); |
104 |
|
|
450 |
* <dl> |
* <dl> |
451 |
* <dl> gnu.classpath.home <dd> Path to the classpath libraries. |
* <dl> gnu.classpath.home <dd> Path to the classpath libraries. |
452 |
* <dl> gnu.classpath.version <dd> Version of the classpath libraries. |
* <dl> gnu.classpath.version <dd> Version of the classpath libraries. |
453 |
|
* <dl> gnu.classpath.vm.shortname <dd> Succinct version of the VM name; |
454 |
|
* used for finding property files in file system |
455 |
|
* <dl> gnu.classpath.home.url <dd> Base URL; used for finding |
456 |
|
* property files in file system |
457 |
* <dt> gnu.cpu.endian <dd>big or little |
* <dt> gnu.cpu.endian <dd>big or little |
458 |
* <dt> gnu.java.io.encoding_scheme_alias.ISO-8859-? <dd>8859_? |
* <dt> gnu.java.io.encoding_scheme_alias.ISO-8859-? <dd>8859_? |
459 |
* <dt> gnu.java.io.encoding_scheme_alias.iso-8859-? <dd>8859_? |
* <dt> gnu.java.io.encoding_scheme_alias.iso-8859-? <dd>8859_? |