File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jyothsna Sri Y
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic