• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux and Java

bunbun

Member

Lately I have been having trouble with java running on my FC 2 box. When I run a java app such as netbeans 5.0 my system will periodically hang. I have java SDK 1.5.0_6. Interestingly enough my system responds to ping but to nothing else; any shells I have going remotely on it die to. This bug appears to happen only when a gui is open. Any ideas?

Bunbun
 
Sounds like a driver issue. Not sure how a application can cause these problems.. unless it's consuming so much cpu that everything locks up.

It may just be your X windows system. If you have a seperate computer try to ssh into it and see if you can kill it that way, or try to switch to a virtual console (ctrl-alt-F1) or try to kill X (ctrl-alt-backspace). See if those do anything.

Other then that I suppose you could upgrade your Fedora Core install to FC 4 or FC 5. There are plenty of reasons why this is a good idea right now and it would be easier to find people with the same OS to help you solve problems with it.
 
I tried the SSH (which did not work) but I have not tried killing X or a virtual console. Ill try that next time.
Kinda funny that you mention FC5; I'm downloading the 64 bit version for a new comp I'm building.

Thanks,
Bunbun
 
Yeah, first step is to upgrade to a non-old version of the operating system 😛

I'm not sure what it was like in fc2, but the newer versions are going pretty gung-ho with gcj (replacement for sun's jdk). I think you can run both side by side, but it might not hurt to just start with gcj, since it's in the package repos and supported and everything. At any rate, it's something to look out for if you go to get the sun jdk set up again.

Although, I believe swing is still one area of the class library where they (gnu classpath more specifically) are still a little lacking and since netbeans obviously uses swing, it might not work too well. Eclipse would, but I don't want to start a religious war 😛
 
Dont worry about the religious war; I have no real pref of netbeans of eclipse; I just happen to know how to use netbeans. The JDK works well on my FC4 laptop so upgrading might be the best bet; hopefully my new comp will replace my current for devolping needs. Anywho, thanks again for your suggestions.

--Bunbun
 
Concerning java development related issues, go to terminal and type :

which java

If the line that it returns doesn't contain the following "sdk1.5.0_06" and you see that the line returned says gcj this means that your system is using gci java then since you have sdk already installed do the following , in terminal as root type :

/usr/sbin/alternatives --config java

It will give you options concerning which java to use enter the number for the one that has "sdk1.5.0_06" in it, and your system will be using the sdk instead of the gcj.
 
Back
Top