[3295] in java-interest

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

Re: Beta Win95 JDK appletviewer crawls on startup?

daemon@ATHENA.MIT.EDU (Thomas Ball)
Mon Nov 6 17:49:46 1995

Date: Mon, 6 Nov 1995 11:44:32 -0800
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: garya@village.org
Cc: java-interest@java.Eng.Sun.COM

>  On Win95, JDK Beta:
>  
>  Attempting to run the appletviewer:
>  
>  	(cd ...\java)
>  	bin\appletviewer demo\GraphLayout\example1.html
>  
>  results in the appletviewer window appearng (empty) except for the 
>  menubar with the "Applet" button; and text in the lower left corner 
>  which says "starting applet..."
>  
>  If you choose "Quit" or click the close glyph in the wm title bar,
>  it exits; choosing any other menu item does nothing, and subsequently
>  Quit does not work either (presumably it is blocked pending the previously
>  requested action).
>  
>  After a long wait (a minute?), the messages
>  	"status: applet loaded"
>  	"status: applet initialized"
>  	"status: applet started"
>  appear in the DOS window from which it was started;
>  the lower left corner label in the viewer changes to "applet started";
>  and the applet appears.
>  
>  What's going on?
>  Is some network connection probe being attempted?
>  (no network connection was available in this case, but making one
>  available seemed to make no difference)

As part of initializing Java, the Java network library attempts to make
a WINSOCK connection.  If it's not available, it will timeout.  If you
have MSN set up, just click the cancel button when the dialer dialog
comes up.

>  Aside: Do 2.0 Navigator and Java still require Microsoft's winsock, or will
>  a Trumpet winsock work as well?

Any WINSOCK compliant product should work, but we can't help anyone set 
it up correctly.

>  BTW, some of the demos, such as BarChart, do not work properly unless 
>  run from their subdirectory.

That's a known problem with file URLs (we're working on it).  You won't
see this if accessing the samples from an HTTP server.

>  BTW, changing the properties does not save correctly as distributed;
>  the subdirectory java\.hotjava does not exist in the distribution.  
>  Once created, they save fine.

We hope to have a true setup.exe in the 1.0 release for the Win32 port.
One of the things it will do is create this directory.

Tom Ball
Java Products Group
-
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