![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sun Java Platform, Standard Edition 1.5.0_15 (Java 5 branch) | iBot | Software Releases - RSS News | 0 | 03-06-2008 02:50 PM |
| Using Subversion, NetBeans IDE, and Sun Java System Web Server With Java ME | iBot | UNIX and Linux RSS News | 0 | 02-01-2008 02:00 PM |
| Tuning Java on LINUX | crabbie_upk | UNIX for Advanced & Expert Users | 5 | 07-02-2007 10:05 AM |
| Linux Programming in JAvA | srikumar_cs | UNIX for Dummies Questions & Answers | 1 | 06-18-2007 02:40 PM |
| How do i download java 1.3 on linux(kinda have this old version) | wojtyla | Linux | 5 | 02-18-2005 05:55 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
DOes any1 know if the java.awt and javax.swing packages are
installed in Redhat Linux 9.0 or not??. I have compiled a simple Java program and ran it but the Java programs related to GUI are not working. Can any1 provide some Help?. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
to check if any package is installed on redhat issues
rpm -qa | grep "package_name" e.g rpm -qa | grep java the above will show any java package instlled |
|
#3
|
|||
|
|||
|
I don't think any packagers would bundle AWT/Swing separately because they are part of the foundataion classes ...... and actually (as in Sun's distribution) they are bundled in a single JAR file together with the other classes (in my distribution, that is rt.jar).
And a sidenote, make sure the java executable doesn't point to "gcj", as only a small subset of its JFC is implemented (no AWT/Swing etc.) I know some distributions use this GNU Java compiler as the default (because of potential licensing issues) where some classes are simply missing or are not implemented. This is a likely reason why you are unable to compile programs using GUI classes. |
|
#4
|
|||
|
|||
|
Yes the java executable is pointing to gcj. SOo what should i do so that i get these other packages of Java installed in my Redhat Linux 9.0.
|
|
#5
|
|||
|
|||
|
Just download JDK from Sun Microsystems and set it up manually.
As I said, gcj doesn't have (good) support of Swing/AWT. |
|||
| Google The UNIX and Linux Forums |