Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Java Not Starting

I'm running Netscape 4.05 on Windows NT and every time I goto a page that has a Java Applet the Cue line says "Starting Java ..." and the entire Netscape session becomes locked up.  PlaidMan (in the note on Jan 4th entitled "Starting Java")   suggested that the browser is just loading "it's internal JRE" and that "Eventually, the page loads and you don't have to worry about it until you open Netscape next time."  

This does not seem to be the case for me, I'm running a Pentium 300 MHz machine with 256 meg of memory and  after a half an hour Netscape was still locked up.  So my question is, what do I need to do to get Netscape 4 to load an applet?  Thanks.

vanfleet
0
vanfleet
Asked:
vanfleet
  • 7
  • 7
  • 2
  • +2
1 Solution
 
sybeCommented:
see http://www.winfiles.com/bugs/nsjava.html

basically the solotion is to add
-start_java
in the shortcut to NN4


0
 
vanfleetAuthor Commented:
I thought this solution would fix my problem but it has not, when I put -start_java in the shortcut and tried to start it, all I got was the splash window with the message "Starting Java..." then once again NN4 is locked up.

I also loaded Communicator 4.04 on a different machine and had exactly the same result.  I noticed that the fix to this problems on www.winfiles.com is for Communicator 4.02 and 4.03 running windows 95, I'm running 4.04 and 4.05 on Windows NT.  Does someone know what's going on here?
0
 
evijayCommented:
Please open the java console in the tools menu. See what message it displays.
You can download the developer version of netscape 4.05 (which is different from release) from developer.netscape.com. This doesnt give any problems.

vijay

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
vanfleetAuthor Commented:
When I open the Java Console I get the same result as before, I get a message at the bottom of my window saying Starting Java ... then it's gone out to lunch again.  I really
don't understand this, am I the only one having this problem?

I haven't tried the developer version yet, I'll try it out and see what happens, this may get me up and running but it won't help my customers much.

I'd be happy to add another 100 porints (or more) if someone can offer me an easy fix that I can offer to my customers also.  Thanks.
0
 
thresholdCommented:
There r many problems that causes the applets can not run in browsers.

Most of problems can be detected by java console.
You can use [Communicator][Java Console] to open the cosole to debug your applet.
Press [h] , you will see the debug options.
Please turn on the options, and press shift key and click [Reload] in same time, you will find the problems.

Press [0-9], you can see the trace your applet in detail.

Press [l], you will see the classes downloaded by browser. Maybe, you can find the classes that can not be downloaded properly.
(It's the most problems of Applet)
0
 
vanfleetAuthor Commented:
threshold

Please read my previous note, my problem is not with one single applet, my problem is that everytime Java tries to start, netscape becomes locked up.  As I said in my previous note, when I try to start the Java Console Netscape also becomes lock up, and I can get no information from it.
0
 
thresholdCommented:
As I said, You can open the java console first and set up the opetions, then open the document that contains you applet, then click console quickly.
You will c message from the console.
Maybe, your first applet has take too much CPU time. If it happens, the other applications will be slow too.
Or there is many classes needed, NS is busy to load them.

There are many reasons cause Browser be locked up, You can list the source here, it's helpful to find the problem.
0
 
thresholdCommented:
sorry, wrong typing, It's 'options', not 'opetions'
0
 
vanfleetAuthor Commented:
threshold, I appreciate your help but your still not understanding my problem.  I can NOT under ANY circumstances bring up the Java Console, even if I have a blank page loaded the Java Console will NOT come up at all.  All I get is a locked up session with the CPU running at 100%.

Every time Netscape tries to start Java it becomes locked up, this includes the following:

 - When I try bring up the Java Console
 - When I put -start_java in the shortcut
 - When I try to load a page that has a Java applet

ALL of these circumstances result in a locked up session, and each time the session becomes locked up, the message at the bottom of the Netscape window says "Starting Java ...".
0
 
thresholdCommented:
sorry, wrong typing, It's 'options', not 'opetions'
0
 
thresholdCommented:
Did you try the examples of http://java.sun.com?
If the applets from Sun run well in your browser, I think there is something wrong in the Thread of your applet.
Maybe, One of the threads of the applet contains a endless loop, it will cause leak of CPU time.
If there is a loop to perform 'Delay' function, you can use the 'sleep(n)' to replace it.

You can print something by System.out.println(...), and find out the endless loops.
0
 
vanfleetAuthor Commented:
I'M NOT TRYING TO RUN MY OWN APPLET YET, I'M ONLY TRYING TO GET JAVA TO START!
0
 
thresholdCommented:
Oh, I c...
You can bring up the Java Console.
I think some files needed by NS 4.05 are corrupted, or under wrong permissions.
Uninstall NS 4.05 and restart your Computer and reinstall it in other directory.
good luck.
0
 
thresholdCommented:
can't, not can. sorry
0
 
VincentTCommented:
I used to have problems with netscape's java.  (i'm on unix)
Most of the time, unsetting the classpath before launching netscape does it. (I did a little wrapper shell script for that).

It it does not help, get the 4.05+jdk1.1 netscape from
ftp://ftp.netscape.com/pub/communicator/4.05/development/english/windows/windows95_or_nt/4.05_plus_JDK1.1_pr1/
0
 
vanfleetAuthor Commented:
VincentT,

The Netscape 4.05+jdk1.1 version worked fine.  It wasn't quite the solution I was looking for, even though it may be the only one.  Before I grade your answer I wanted to clarify somthing, I tried unseting the classpath but the results were the same, I was wondering if I need to remove the envorinment variable alltogether or can I just set it equal to nothing?  Can you give me anymore information about this?  Thanks.
0
 
VincentTCommented:
When I say "unsetting the classpath", I imply "make sure you don't have a classes.zip somewhere in your classpath"!

conflicts happens when the VM find two sets of core classes.
(at least, on unix (linux))
0
 
vanfleetAuthor Commented:
Thanks, for your help!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 7
  • 7
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now