Java Problems

  • Thread starter Thread starter Gainy
  • Start date Start date
G

Gainy

Guest
About 5 months ago, I was quite keen on playing my friend at some games via MSN IM. It wasn't working for me, so I ran this program thingie which would fix it. It did.
I then tried to run something via Java with my browser (Internet Explorer), and it didn't work. I just got the wee red cross in a box. Nothing Java-ish has worked since then, besides the MSN games. It recognises that I have Java installed on my pc, I have the latest version etc. It just won't work.

Could anyone help?
 
You have to find out what version of JVM you're running. Are you running Microsoft's JVM, or Sun's?

To do that, do you have the "Java plug-in" item in your control panel? If yes, then you do have Sun's JVM installed, but you might not be using it. Open IE's Tools | Internet Option. Click the Advanced tab. Scroll down and find a node named "Java (SUN)". Make sure it has a tick there.

If you want to use Microsoft's JVM, then uncheck the tick (if present). But I won't recommend doing that - in fact, you should never use the MS JVM. It's not real Java (runs MS only code), and it has serious security risks - there're virus that specifically attacks the MS JVM. I recommend you use this tool to completely remove the MS JVM: http://www.physci.org/jvmclean.jsp

Then you'll also need to tell us what the Java console said when the applets fail. For Sun's JVM, click Tools | Sun Java Console. For MS JVM, it's under the View menu. Post what it said in there.

Also post the link to the Java applet(s) if you could.
 
Uninstall the version you have, then re-download and install it again.

Tried it for the 3rd time just there, still didn't do anything ;)
You have to find out what version of JVM you're running. Are you running Microsoft's JVM, or Sun's?
I'm using Sun Java. And I already checked the wee box thingie, it is ticked.

Regarding the other things: Java is one of my downsides, I really have no idea how it works, and what the terminology means.
I loaded up the console, but have no idea what you are wanting me to do with it. All it says is:

Java(TM) Plug-in: Version 1.4.2_04
Using JRE version 1.4.2_04 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Then there's 3 buttons, which are Clear, Copy, and Paste.

One example of an application which doesn't work is: http://www.civfanatics.com/chat2.html
When I go to that, it doens't say anything new in the console, I just get the red X.
It isn't solely that applet (is that the right word btw?) which doesn't work, anything else that requires Java also gives me problems...

Any more ideas?
 
I checked the page (I'm using version 1.5 beta)... it works for me. In the console it printed some information:

JPilot jIRC applet versoin 2.7.0, Reg v3
http://www.jpilot.com
Detected docbase=www.civfanatics.com
Licensehost=civfanatics.com

So the problem could be in your system. But then, your Java console is working too...
somehow, your Java plug-in is not triggered.

Give me some time... I'll write up a tiny test class so you can test it locally, on your machine.

Done!

Extract the zip file anywhere you want... and double click the HTML. It's a simple Swing applet. Then double-click the file AppTest.jar - it's a simple Java application. They both just display the text "Some text." and a button that does nothing.

Also try the applet linked from this page: http://www.physci.org/codes/jre.jsp.

Scroll down to the bottom, and click the version you installed.

See if the they run at all... tell me anything you saw, and the content in Java console.
 
For the HTML page, I just got the red cross thing.
For the Jar thingie, it refused to open, saying: "Could not find the main class. Program will exit."
For the website you linked, all of them gave the same kinda message which was:

This browser supports the Java Version 1.0 required!

This Browser does not support Java, or Java is disabled.
I wasn't sure which version I had, so I just went to all of them.

RE what it said in the console... well... nothing.

Thanks for your help btw, keep it up ;)
 
Yep i guess cos no-one likes you. why dont you try installing the other version of Java and use that instead?
 
But I won't recommend doing that - in fact, you should never use the MS JVM. It's not real Java (runs MS only code), and it has serious security risks - there're virus that specifically attacks the MS JVM

That's why :p

EDIT: I installed some stuff for broadband, including MS JVM (I think), and now Java works :) If there's security issues, well, stuff happens ;)
 
Back
Top Bottom