Strange textPad behaviour

Using the Java SDK with TextPad

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

Post Reply
koolkid
Posts: 14
Joined: Sun Feb 15, 2004 2:25 pm

Strange textPad behaviour

Post by koolkid »

hi
i have this DIR:
C:\Java_Granel\Classes\aritmetica

in this last folder i've several .java and .class files;
all .java belong to a package named aritmetica.

From msdos, i compile and run ok, like this:
C:\Java_Granel\Classes\aritmetica>java -cp C:\Java_Granel\Classes aritmetica.Stub
But in textpad, this doesnt work!

i dont have any classpath in environment, and in my textpad settings/preferences/tools/run, i have:
param: $BaseName
Initial Folder: $FileDir

i'm trying to run like this (from java.exe in textpad):
-cp C:\Java_Granel\Classes aritmetica.Stub, but get this msg error:

Add or subtract? java.io.IOException: invalid identifier
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:191)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at aritmetica.Stub.getOperationRequested(Stub.java:100)
at aritmetica.Stub.go(Stub.java:66)
at aritmetica.Stub.main(Stub.java:33)

Can someone give me a clue to what i'm doing wrong, pls?
thanks in advance
koolkid
Posts: 14
Joined: Sun Feb 15, 2004 2:25 pm

Post by koolkid »

CASE SOLVED
had to uncheck capture output
Post Reply