Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-18-2004, 03:36 PM   #1
Registered: Jun 2004
Location: PAKISTAN
Posts: 46

Rep: Reputation: 15
Question couldn't import swing in JAVA on REDHAT LINUX 9

Actually i downloaded the j2sdk for LINUX platform kit from SUN's website then i created a graphical interface using awt and swing jframe when i m compiling the program i m getting an error msg that " cannot locate swing.........

Now that same program is running fine on windows platform.... Therefore what is the problem with j2sdk of LINUX platform....

Thanks In Advance
Old 06-18-2004, 06:14 PM   #2
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
there is no problem which java on linux. it might be a silly question but do you know how to program in java?
Old 06-20-2004, 01:47 AM   #3
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Check if you've installed the gcc-java. If installed, uninstalled it.
And re-install the Sun's J2sdk.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
a java-swing problem... shosh Programming 2 06-26-2009 05:38 AM
what is import javax.swing.*; Dutchman Programming 4 06-16-2005 10:12 AM
java swing JTextArea gauravbagga Programming 1 05-23-2005 04:34 AM
Problems running a Java Swing app under Linux paulmai Linux - General 2 12-04-2004 06:51 PM
Java help! Using Swing and Layouts Mega Man X Programming 7 02-05-2004 05:02 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration