wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Swing on Linux...problem!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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!!!!!