wood burning stoves 2.0*
The moose likes Java in General and the fly likes Exception  - No Clue As To The Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Exception  - No Clue As To The Problem" Watch "Exception  - No Clue As To The Problem" New topic
Author

Exception - No Clue As To The Problem

Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
SQLException: JZ006: Caught IOException: java.io.IOException: JZ0I6: An error oc
cured converting UNICODE to the charset used by the server. Error message: java
.io.CharConversionException: java.io.UnsupportedEncodingException: Cp850
I get the above exception when running a Java app on a Win2000 server with Sybase. It runs perfectly fine when running on my own NT box, but connecting to the same Sybase server.
Anyone have any experience with this error.
Thanks!
Rob
Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
Found the answer!
If anyone has this problem, you need to manually put the i18n.jar in the runtime. For some reason, it is in the JDK, but not the runtime.
I guess it was done to save space, but my app definately needed it.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Yeah - if you notice, it was in the classpath in that .bat file that I shared with you.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
Of course I noticed, after 4 hours of trying to figure out what was going on, lol.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception - No Clue As To The Problem