itw javaws + UTF-8

Jiri Vanek jvanek at redhat.com
Fri Nov 23 15:45:47 UTC 2018


On 11/13/18 2:54 PM, greenfield wrote:
> Hi everybody.
> 
> I have openJDK 8 + icedtea-web, it was installed with
> java-1.8.0-openjdk-1.8.0.191-1.b12.ojdkbuild.windows.x86_64.msi
> So I have javaws.exe and javaws.jar
> 
> I have at the moment some problems with unicode characters in my applet. 
> Is there some possibility to pass -Dfile.encoding="UTF-8" (JAVAWS_J_OPTIONS)
> to icedtea-web javaws?
> How can I do this?
> 

I would be happy to help. BUt i have no idea what is in the executable. If it si based on upstream
bat files, then it lacks this power.

*Maybe* you can pass it in via global  JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8" ?

Patches for our terrible bat files welcomed.
IN 1.8 there willbe native luncher which willbe able to do this for both linux and windows.

Please, compare: http://icedtea.classpath.org/hg/icedtea-web/file/6b6da5f22c26/shell-launcher :(


HTH
 j.


More information about the distro-pkg-dev mailing list