[5446] in java-interest

home help back first fref pref prev next nref lref last post

getProperty method

daemon@ATHENA.MIT.EDU (=?ISO-2022-JP?B?GyRCQD1JSjMrSC9LXE)
Fri Feb 9 08:03:15 1996

From: =?ISO-2022-JP?B?GyRCQD1JSjMrSC9LXEl0GyhK?= <knishino@gupta.co.jp>
To: "'Java mailing list'" <java-interest@java.sun.com>
Date: Fri, 9 Feb 1996 20:53:47 +0900

I have two questions about Java.

1.A book on Java written in Japan lists the following example code fragment.

public static void main(String a[]) {
    ...
    s = System.getProperty("user.name");
    ...
}

This seems to show the user login name. But the book does not lists
what string (other than "user.name") is applicable to getProperty
method. Is there any documentation about it? Please give me a pointer.

2.I understand that HotJava is written in Java. And HotJava is a self executable
program(that is, it does not need java.exe to run it). How can I make such a 
program? I looked up the java compiler option, but have not found any way.

Thanks.

Kenichi Nishino
GUPTA JAPAN CORPORATION
Email: knishino@gupta.co.jp

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post