Exception thrown with tutorial: CharToByteSingleByte

"Farid C." <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Bonjour

I am trying to use jsat on Sun Solaris:

java version: 1.3.1_01
jswat version: 20020426
classpath:
/usr/j2sdk1_3_1_01/lib/tools.jar:/local/jswat.jar:~/FTP
sourcepath: /usr/j2sdk1_3_1_01/src.jar:~/FTP

1)
With a very simple file: ~/FTP/HelloWorld.java
public class HelloWorld {
    public static void main (String[] args) {
                  System.out.println("Hello World");
                  }
}

cd ~/FTP
javac -g HelloWorld.java
java com.bluemarsh.jswat.Main works fine.

2)
With the file ~/FTP/tutorial.java provided with jswar

cd ~/FTP 
javac -g tutorial.java
java tutorial works *fine*: he application with the
button
press works

3)
But when I try to launch the same application tutorial
launched with java com.bluemarsh.jswat.Main.
The VM loading is OK, but VM running:

Exception thrown.
[main] CharToByteSingleByte.convert
(CharToByteSingleByte.java:154)
Could not find source file for class. Check classpath
and sourcepath.
(Method: sun.io.CharTobyteSingleByte.convert(char[],
...)

I have tried: jar -tf /usr/j2sdk1_3_1_01/src.jar |
grep -i CharTo
but this class is not found

Is someone get the same exception thrown ?

thank you for your help
F

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.