I think you need to download the compiler (which is invoked using "javac bla"
not "java bla"). If I remember correctly, you write your code in an editor
( like SciTE ) and save it as "HelloWorld.java" then use:
>javac HelloWorld
which will compile it to a class file as "HelloWorld.class" and after that
you can use:
>java HelloWorld
to run the program.
Also, I believe the filename must match the name of the class that you
define in the code. For instance, "HelloWorld.java" might contain something
like:
--------8<--------
import java.awt.*;
public class HelloWorld
{
public static void main (String[] args)
{
....
}
}
-------->8--------
Nathan.
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who
knows.
Yahoo! Answers - Check it out.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest
Thank you for your answer.
The filename match always the name of the class, I learned it this way. I've
downloaded the Compiler, because Eclipse work without problems. That's not
the problem. But I don't know where exactly the problem is. I can't compile
or run my programms in SCiTe, but in Eclipse it works (but I want to
programm in SCiTe :) )
--
View this message in context:
http://www.nabble.com/Path-to-the-JVM-%28SCiTe%29-tf3802482.html#a10778459
Sent from the SciTE mailing list archive at Nabble.com.
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest