[1944] in java-interest

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

Re: mo betta questions

daemon@ATHENA.MIT.EDU (Scott Oaks - NE Area Tactical)
Wed Sep 20 13:46:45 1995

Date: Wed, 20 Sep 1995 10:00:37 -0400
From: sdo@soliado.East.Sun.COM (Scott Oaks - NE Area Tactical)
To: java-interest@java.Eng.Sun.COM


> >2.  The on-line tutorial shows "System.out.println()" and explains that
> >    "System" is the class.  There was no import statement, so where
> >    did this class come from?   And what exactly is "out"?  Is it
> >    a subobject of System?
> 
> In the HotJava browser, try the Help->Search the Documentation menu.
> You will find the API for System (which is part of java.lang)

That only helps if you want to look at the Alpha doc, not the doc for the
beta JDK.

If you want to search the beta API documentation using HotJava, here's what
you need to do:
    1)  Download the beta api html files from the JDK page 
	(http://java.sun.com/JDK-prebeta1/ftp_docs.html)
    2)  Unpack these documents -- the tar file will put them in a directory
	named api
    3)  Rename that api directory to something like betaDocs and move the
	betaDocs to $JAVAHOME/doc where JAVAHOME is the installation directory
	of the *alpha* version of java/hotjava
    4)  In $JAVAHOME/doc there's a file called ListOfBooks; edit that file
	and include the following two lines
JAVA Beta API
betaDocs

    5)  In $JAVAHOME/doc run the following command
$JAVAHOME/bin/java -classpath $JAVAHOME/classes/browser/tools/JavaSearch:$JAVAHOME/classes browser.tools.JavaSearch.javaindex -stoplist $JAVAHOME/doc/real-short-stoplist.txt -db betaDocs/ betaDocs/*

	Note that JAVAHOME still refers to the *alpha* distribution of java

Then you can start the alpha HotJava and in the Search window, select the
JAVA Beta API as the Books to search and you'll be set.

-sdo

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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