Java issues
Java issues
I'm having a weird Java problem on my fiance's computer that maybe someone will be able to help with.
First off, he has the latest JDK and JRE installed on his computer and they work fine when his user account is logged in.
However, for some strange reason, when I log in with my account, Java doesn't seem to work properly. I do programming in Java and one of my programs has a GUI. When I run the GUI, the window comes up with the right title and size, but there is nothing inside that window.
I know the problem is not with my code because it runs fine on my lab computer and my laptop and it worked on my old desktop too. In fact, the same thing happens if I try to open up the Java Control Panel. The window comes up, but there is nothing inside it.
Has anyone run into this problem before? Any ideas for how to fix it?
First off, he has the latest JDK and JRE installed on his computer and they work fine when his user account is logged in.
However, for some strange reason, when I log in with my account, Java doesn't seem to work properly. I do programming in Java and one of my programs has a GUI. When I run the GUI, the window comes up with the right title and size, but there is nothing inside that window.
I know the problem is not with my code because it runs fine on my lab computer and my laptop and it worked on my old desktop too. In fact, the same thing happens if I try to open up the Java Control Panel. The window comes up, but there is nothing inside it.
Has anyone run into this problem before? Any ideas for how to fix it?
From the sound of it it seems his Account is an Adminstrator account, your's isn't, and running the thing requires admin privs. That seems unlikley however, as Java should work perfectly with non privilaged acounts. Try and make your account an admin and see if it works (log in as him, go to control panel , double click "user accounts", click on your login, click "change my account type", and select "Computer administrator", and press "change account type".)
BD&U - a friends comic, we need hits!!
I did try to install the JRE for my account, but it just says "this version is already installed" and that I need to uninstall it first. 
Some of my colleagues think that the chemicals we are experimenting with could potentially cause brain damage, however I think that fish crunchy bits of salami my new red hippie noodle. Naked pool frogs?
- Infin8Cyn
- Redshirt
- Posts: 6309
- Joined: Tue Apr 29, 2003 10:02 pm
- Real Name: James
- Gender: Male
- Location: Albuquerque, New Mexico
- Contact:
Re: Java issues
So, uninstall and re-install? Then check to see if it runs in your account and his. I don't see a good reason why this would be bad.

I'm sorry. I just wanted to hear other people's suggestions to see if maybe they could come up with something I didn't think of.
Some of my colleagues think that the chemicals we are experimenting with could potentially cause brain damage, however I think that fish crunchy bits of salami my new red hippie noodle. Naked pool frogs?
- Deacon
- Shining Adonis
- Posts: 44234
- Joined: Wed Jul 30, 2003 3:00 pm
- Gender: Male
- Location: Lakehills, TX
Well here's the way to do it: share the basic setup, the symptoms of the problem, and the things you've tried so far to get it working. That way we're not blind-guessing in the dark at the bottom of a mine shaft at night.
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922
Fire up a browser that uses the JRE for it's java, and see wheter you can load a normal applet. also see if you can run other people's java, that is known to work. My thought is there might be something funny in the JDK instead of JRE.
BD&U - a friends comic, we need hits!!
The browser applets seem to work ok. But java programs do not. I think you are right that it may be in the JDK.
Some of my colleagues think that the chemicals we are experimenting with could potentially cause brain damage, however I think that fish crunchy bits of salami my new red hippie noodle. Naked pool frogs?
-
Aerdan
- Redshirt
- Posts: 923
- Joined: Wed May 25, 2005 8:50 am
- Real Name: Kiyoshi Aman
- Gender: Male
- Location: Nowhere in particular.
- Contact:
You could try, oh, Blackdown JRE or JDK...
I don't know if those have a Windows port, but they're known not to work with Firefox, at least under Linux, but that's probably due to me using a binary build of Firefox rather than building my own [which I'll do once compiling Firefox every month becomes less of a chore.]
I don't know if those have a Windows port, but they're known not to work with Firefox, at least under Linux, but that's probably due to me using a binary build of Firefox rather than building my own [which I'll do once compiling Firefox every month becomes less of a chore.]

(note I haven't built a program in java for 5 years, and even then it was hardly more than hello world) Are you running whatever the 'compile' command is through the IDE or command line? It may be that the IDE adds lots of redundant options that are breaking compatability in some way. try doing a test build using only notepad and the command line program for buildling the damn thing.
BD&U - a friends comic, we need hits!!
Who is online
Users browsing this forum: No registered users and 1 guest