On 24/05/2007 08:54, Janni wrote:
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 :)  )

<rant mode="on">
Your mail was very confusing, Nabble seems unable to properly quote a message...

Also, that's officially SciTE, not SCiTe... :-)
</rant>

> When i wrote a programm in Java and compile this, SCiTe tell me something
> like that:
>> java bla
> Exception in thread "main" java.lang.NoClassDefFoundError: bla
>> Exit code: 1

It looks like you try to run the program, not to compile it.
In cpp.properties (I know, it is C-like languages properties actually), I have the following lines:

command.compile.*.java=javac $(FileNameExt)
command.build.*.java=javac *.java
command.go.*.java=java -cp . $(FileName)

If Java is in your path, it should work, I suppose (I never compile from within SciTE). Make sure you use the right command and that a .class file is generated in the current directory. And it makes me think, the above lines will work only if the class isn't in a package, no? Go mostly for quick tests.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to