Problem with running jar

I'm using the JDK from WebObjects 4.5 on a WinME machine.

And everytime I try to jar, I keep getting an error message saying:

Can't find class /sun/tools/jar/Main

I checked the paths leading to the jar.exe and everything

is set correctly, but I still can't get it to work.

Can anyone help?

[337 byte] By [r.fox] at [2007-9-26 4:31:05]
# 1

Sounds like you havent modified the jars manifest file.

You need to create a text file containing :

Main-Class: mainClass

mainClass being class with main() method.

when you create your jar:

jar cmf mainClass.txt JarName.jar *

This will work if everything is in the same directory.(I Hope)

Dustin at 2007-6-29 17:44:12 > top of Java-index,Desktop,Deploying...