Java

Flintlock

Emperor
Joined
Sep 25, 2004
Messages
1,215
I seem to have this problem getting Java to work on my computer, it first started when I tried to access the CFC java chatroom, it doesn't work- at all. Nothing, just the text and a red X. No problem, I thought, I just wont chat :( (this was a few months ago)
This came up again earlier today, when a web site informs me that I do not have Java enabled on my computer. A simple google search turned up a few sites with directions on how to enable it, I followed them- still nothing. Then I assumed that I didn't have Java on my computer, so I downloaded it, changed the settings agian, restarted, still nothing.
icon23.gif

I tried the chatroom on another computer in my house, and it works fine, I actually get the pop-up, but denied it access because it wasn't my computer.
I'm running IE version 6.0, if that means anything. Any ideas on how to get this to work?
 
Another Java-question:
If swing graphics doesn't work, how do you make them work? I can still use the controls but they show as blank on the screen.
 
funxus said:
Another Java-question:
If swing graphics doesn't work, how do you make them work? I can still use the controls but they show as blank on the screen.

Is it a problem with your Java installation or is it about the program you're using?

Do you have JRE or JDK installed? If you have JDK, it comes with a lot of demo programs. One of them is called SwingSet. By default it will be in C:\Java\jdk1.5.0\demo\jfc\SwingSet2 (change version number).

Run SwingSet and see if it displays alright.
 
Flintlock said:
I tried the chatroom on another computer in my house, and it works fine, I actually get the pop-up, but denied it access because it wasn't my computer.
I'm running IE version 6.0, if that means anything. Any ideas on how to get this to work?

Microsoft and Java hate each other passionately.... it got started because MS tried to convert Java into its own product, J++, and that violates the license from Sun, the creator of Java.

Sun sued, and MS lost the case (:goodjob: judge). Since then MS discontinued J++... and removed their own MSJVM from IE.

If you can't use a Java program, it's either the program has problem, or your Java installation has problem.

First we'll need a working Java applet to test with. I've found one from Sun:

http://java.sun.com/security/signExample/signedPluginEx.html

It will pop up a dialog to ask for permission. If you say yes, it will display some text.

If it doesn't work (a red cross) then you need to check your installation.

1. Is Java installed?
By default, JRE (Java Runtime Environment - the one you should be installing as you don't develop in Java... you only want to run Java) is installed in here:
C:\Program Files\Java\jre1.5.0 (change version number)

It is specified in your registry as well:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
Inside, select the version, and you'll find the path in the "JavaHome" key.

The two should match.

2. Is Java enabled in IE?
They don't call it "Java Plug-in" for nothing... there're two pieces (Browser and JVM (Java Virtual Machine)) of program that need to work together.

First check on Java's side. Open Control Panel. If Java is installed, you should have an item called Java (or something similar). Open it.

Depending on the version you're using, the console will look very different. You need to find an option that said Microsoft Internet Explorer and check it to enable Java support for IE.

If you can't find it, uninstall then reinstall JRE... at the end of the installation it will ask you which browser to support. Check IE there.

Then check on IE's side. Tools | Internet Options | Advanced. Look for Java (Sun) node. Expand it, and make sure it is checked (it should say "Use Java xxx for <applet> (requires restart)").

Then close all your IE windows (use TaskManager to make sure there's no iexplore.exe hiding) and try the link above again.
 
kcwong said:
Is it a problem with your Java installation or is it about the program you're using?

Do you have JRE or JDK installed? If you have JDK, it comes with a lot of demo programs. One of them is called SwingSet. By default it will be in C:\Java\jdk1.5.0\demo\jfc\SwingSet2 (change version number).

Run SwingSet and see if it displays alright.
Thanks, I will test it when more time. I've just noticed it's a common problem. Was the same when using java in school.
 
@kcwong, thanx! as it turns out, I never had Java installed in the first place :crazyeye:
 
Back
Top Bottom