The Mudcat Café TM
Thread #135614   Message #3093977
Posted By: GUEST,Grishka
12-Feb-11 - 03:53 PM
Thread Name: Tech: CopyUnicode: Create any char
Subject: RE: Tech: CopyUnicode: Create any char
On refreshing, I see the other answers.

Thank you, Jon. If anyone finds any incompatibilities, let me know.

Artful Codger (12 Feb 11 - 02:56 PM), you can call the program as you wish. Ok, let us stick to CopyUnicode in this thread, but the main class is ("historically") called ClipUnicode in the above source code, so if you want to call the source file CopyUnicode.java, the above something.bat should read:
mkdir Classes
"%ProgramFiles%\java\jdk1.6.0_23\bin\javac" -d Classes CopyUnicode.java

echo Manifest-Version: 1.0> manifest.mf
echo Main-Class: ClipUnicode>> manifest.mf
echo Class-Path: >> manifest.mf

cd Classes
"%ProgramFiles%\java\jdk1.6.0_23\bin\jar" cmf ..\manifest.mf ..\CopyUnicode.jar *

cd ..
del Classes\*.class
rd Classes
del manifest.mf