Can't compile -> "Invalid path"

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Stephan

Can't compile -> "Invalid path"

Post by Stephan »

Hi all,

I just started using TextPad for Java progrmming.
Now, my problem is: Compilig any java file with TextPad ends up in a TextPad error message like this one:

C:\myname\programming\java\aclassname contains an invalid path.

Now, there are no fancy characters in my path - No spaces, no German umlauts. Just what I thought of (up to now, that is...) as safe in the sense that there aren't chars in there that might irritate *nixes or something.

Some more observations: Compiling on a command line works fine: Calling "javac aclaaname.java" in the abovementioned directory works as expected.
Running "java aclassname" from the cmd line work fine, too.

However I was surprised to find that running a java program from within TextPad work, too. (using Tools | Run Java Application).

Anything else works fine, too - like syntax checking, compiling and running any other language I use develop with TextPad.

Any help?

Stephan
Stephan

Re: Can't compile -> "Invalid path"

Post by Stephan »

Now after fiddling around for a while, e.g. by changing the $FileDir and $FileName settings, I could to the conclusion that it might be possible that the standard settings of either "Parameters" or "Initial Folder" include some kind of white space _before_ the 'Tool Parameter Macro'...

On the other hand, I can't check it because I changed there entries I the course of my 'experiments'.

Anyway, all you out there: In case something doesn't work as you expect and/or wish:

Watch out for white space: You don't see it, but it may bother you.

Happy programming!

Stephan
Post Reply