Re: [visad] instructions for compiling user example code

Hi Sibylle,

javac -g

You need to specify the program's dependencies (in this case VisAD) as part
of the classpath. Try this:

javac -cp visad.jar

Where "visad.jar" is in the same folder as your source file.

Have you considered using an IDE such as Eclipse or NetBeans to make things
easier for you?


On Sun, Jul 3, 2011 at 10:43 AM, Dr. Sibylle Petrak <
sibylle.petrak@xxxxxxxxxxxxxxxx> wrote:

>  Hi,
> I am a new VisAD user. I successfully installed the code and was able to
> run a few examples from the visad/examples section. Now I am interested to
> learn how I can compile my own example .java code (on Linux).
> For instance, I've create a file out of Apart
> from changing the class name to Test100, everything is completely identical
> to Now I wanted to compile my with:
> javac -g
> But this doesn't compile. How would I be able to get Test100.class and run
> my new example code?
> Thanks for your support.
> Best regards,
> Sibylle from Germany
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit:
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: