How to compile these 2 java files correctly?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-06-11T14:37:20Z Indexed on 2010/06/11 14:42 UTC
Read the original article Hit count: 295

Filed under:
|

I'm following the steps here, it's basically :

  1. Compile the DataSource and LiveStream classes: javac -d . DataSource.java LiveStream.java
  2. Run using JMStudio: java JMStudio screen://0,0,160,120/10

But when I compile them, got lots of errors like javax.media doesn't exist and so on.

Here's the directory structure:

D:\>dir

2010-06-11  22:25    <DIR>          .
2010-06-11  22:25    <DIR>          ..
2010-06-11  22:25             3,730 DataSource.java
2010-06-11  22:25             6,860 LiveStream.java

Can someone give more detailed steps how to set up the environment correctly to compile correctly?

© Stack Overflow or respective owner

Related posts about java

Related posts about compile