pboix
asked on
error: IO exception sun.io.MalformedInputException
I'm trying to compile java program with IBM SDK 142 version in a RedHat 9.0 Linux. When I compile:
error: IO exception sun.io.MalformedInputExcep tion.
The aplicattion runs well in W2000.
I think it's a conversion problem (Linux has UTF-8 encoding by default), but I'm not sure how to solve it.
Thanks
error: IO exception sun.io.MalformedInputExcep
The aplicattion runs well in W2000.
I think it's a conversion problem (Linux has UTF-8 encoding by default), but I'm not sure how to solve it.
Thanks
whats the line throwing the exception?
ASKER
Hi both,
Really, when I compile the compiler only shows the line below,
error: IO exception sun.io.MalformedInputExcep tion
There is no line.
I developed and compiled program in W2000, and Red Hat 7 and runs correctly. When I transfer the program to Red Hat 9 fails.
Do you think it's problem of code?
I don't think so,
Really, when I compile the compiler only shows the line below,
error: IO exception sun.io.MalformedInputExcep
There is no line.
I developed and compiled program in W2000, and Red Hat 7 and runs correctly. When I transfer the program to Red Hat 9 fails.
Do you think it's problem of code?
I don't think so,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The problem was the value of LANG in our system LANG=es_ES@euro in the new system was LANG=es_ES.UTF-8, so seting this value to es_ES@euro there is no problem.
Which is basically chaning your system to not use UTF encoding (so the SDK tools above will work), no?
What do you get the error on?
Cheers!