- "native2ascii" Command


How to run "native2ascii" command from JDK tools.jar file?

✍: FYIcenter


"native2ascii" command allows you to convert Java source code or other files from different encoding to \udddd ASCII format.

"native2ascii" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.

You can run the "native2ascii" command using the JDK tools.jar file as described below using JDK 8 as an example:

fyicenter> set JDK_HOME=\fyicenter\jdk-1.8.0_191

fyicenter> %JDK_HOME%\bin\java -cp %JDK_HOME%\lib\tools.jar 
   -encoding UTF8
java.lang.Exception: could not be read. - "serialver" Command - "jstat" Command

Tools Supported from JDK 8- JAR Files

⇑⇑ FAQ for JDK (Java Development Kit)

2019-11-08, 1990🔥, 0💬