This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello, I have just installed Fedora Core 4 successfully. But I can access any sites but www.redhat.com and www.java.sun.com which I don't understand. Could you please educate me what I should do to browse all the sites? thanks.
Hmmm. But here you are at JavaRanch! I guess you're using another computer to make this post?
Well, tell us what you're doing, what you're expecting, and what's happening instead. If you can get to those two sites, everything ought to be working just fine for other sites as well. Which browser are you using? How are you getting to those two sites (typing in a URL, clicking on a link?) How did you try to get to other sites (typing, clicking?) What happened?
Well, I have dual boot, so I can get online with WindowXP in the same computer. I am typing www.redhat.com and works fine. I am using FireFox 1.0.4. When I try other site, it give an alert box saying "The operation timed out when attempting to contact java.sun.com". It used to be fine earlier. I get the same alert for all other sites but redhat.com. I can remember enabling firewall while installing it. I am not sure if that's what causing this problem but why the redhat.com works. since I am new to linux, I am not sure. thanks for your help.
Joined: Oct 26, 2002
Here's another problem, I just installed jdk1.5 and set path variables in .bash_profile in my home directory. javac works fine displaying all the options. but when i do the java as follows:
I can't understand why typing java would not diplay all the options as does by javac. I would appreciate if you could help me with this too. Thanks.
1. I'd check your DNS configuration if you can get to some sites, but not others.
2. Fedora Core uses the Debian "alternatives" system to locate Java and other popular systems. Alternatives allows you to choose from a number of different implementations on a per-user basis. By default it's set up to use the GNU java environment, not Sun's. Alternatives softlinks things like /bin/java to the appropriate product as selected by the user.
Unfortunately, "Java" can mean several things, including JRE, JDK and browser plugins - plus dependencies, and the alternatives system man pages don't give the best of explanations on this.
An IDE is no substitute for an Intelligent Developer.
Joined: Oct 26, 2002
Thanks for the information. so how do I get to "Alternative" to have it pick up Sun's Java that I installed and not the GNU java environment. I would appreicate if you could enducate me on it.
Also, how and what particularly should I look for as far as DNS configuration is concerned?