Java issues

Q&A, advice, reviews, and news about the computers, phones, TVs, stereos, and pretty much anything else that can't be easily whittled out of a stick or chipped out of stone.
Locked
User avatar
natasha
Redshirt
Posts: 45
Joined: Thu Mar 17, 2005 6:24 pm
Location: Worcester, MA
Contact:

Java issues

Post by natasha » Wed Jun 08, 2005 2:52 pm

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?

Newgy
Redshirt
Posts: 84
Joined: Mon Feb 17, 2003 12:50 pm
Contact:

Post by Newgy » Wed Jun 08, 2005 3:25 pm

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!!

User avatar
natasha
Redshirt
Posts: 45
Joined: Thu Mar 17, 2005 6:24 pm
Location: Worcester, MA
Contact:

Post by natasha » Wed Jun 08, 2005 3:26 pm

Sorry, I should have mentioned it before. My account is an admin account.
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?

User avatar
Infin8Cyn
Redshirt
Posts: 6309
Joined: Tue Apr 29, 2003 10:02 pm
Real Name: James
Gender: Male
Location: Albuquerque, New Mexico
Contact:

Post by Infin8Cyn » Wed Jun 08, 2005 3:37 pm

I know it's redundant, but have you installed the JRE on your copy? I'm curious if pathes may have something to do with this but it's been a while since I installed the JDK or the JRE.
Image

User avatar
natasha
Redshirt
Posts: 45
Joined: Thu Mar 17, 2005 6:24 pm
Location: Worcester, MA
Contact:

Post by natasha » Wed Jun 08, 2005 3:39 pm

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?

User avatar
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

Post by Infin8Cyn » Wed Jun 08, 2005 5:18 pm

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.
Image

User avatar
natasha
Redshirt
Posts: 45
Joined: Thu Mar 17, 2005 6:24 pm
Location: Worcester, MA
Contact:

Post by natasha » Wed Jun 08, 2005 5:21 pm

Did it already, but we still have the same problem. :?
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?

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Wed Jun 08, 2005 5:43 pm

Then TELL us you did all that. Christ.
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

User avatar
natasha
Redshirt
Posts: 45
Joined: Thu Mar 17, 2005 6:24 pm
Location: Worcester, MA
Contact:

Post by natasha » Wed Jun 08, 2005 5:46 pm

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?

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Wed Jun 08, 2005 5:49 pm

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

Newgy
Redshirt
Posts: 84
Joined: Mon Feb 17, 2003 12:50 pm
Contact:

Post by Newgy » Thu Jun 09, 2005 11:10 am

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!!

User avatar
natasha
Redshirt
Posts: 45
Joined: Thu Mar 17, 2005 6:24 pm
Location: Worcester, MA
Contact:

Post by natasha » Thu Jun 09, 2005 12:13 pm

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:

Post by Aerdan » Thu Jun 09, 2005 9:27 pm

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.]
Image

Newgy
Redshirt
Posts: 84
Joined: Mon Feb 17, 2003 12:50 pm
Contact:

Post by Newgy » Sat Jun 11, 2005 3:59 pm

(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!!

Locked

Who is online

Users browsing this forum: No registered users and 1 guest