This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Swing on Linux...problem!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Swing on Linux...problem!!!!!" Watch "Swing on Linux...problem!!!!!" New topic
Author

Swing on Linux...problem!!!!!

Jyothsna Sri Y
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
Hi everyone,
I've written a piece of code which uses swing and Java Media Framework. it works fine on Windows. But it's giving errors on linux. I've installed j2sdk1.4.2 and JMF2.1 on linux 9.0. But javac is not able to locate javax.swing and is unable to import the package javax.media.
Can some one tell me what's wrong?
Thanks.
Regards
Jyothsna.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

At the command line type :


I'll bet that the version that shows up isn't the version you think you have installed.

You'll need to put the version of Java you want on the PATH, and make sure that the JMF.JAR file is on the CLASSPATH.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing on Linux...problem!!!!!
 
Similar Threads
swing platform independent?
NX: Java in Linux
Jar file on linux ?
JBoss as a prod. server.
NoClassDefFoundError!!!!