Re: Java application not working with space in the path



In article <gmul9u$tr5$1@xxxxxxxxxxxxxxxxx>, Lew <noone@xxxxxxxxxxxxx>
wrote:

luca.crespo@xxxxxxxxx wrote:
Obvious question: is the jar file in that directory
Not-so obvious: does its Manifest file specify a Main-Class
is the specified class name correct

Obvious: the jar is there
Not-so: can you specify what you mean? I have no idea what a Manifest
file or class name are, sorry...

This is something you really must know before writing JARs intended
to run with the "-jar" option.

<http://java.sun.com/javase/6/docs/technotes/guides/jar/index.html>
<http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html>

Excellent reading. When tracking problems in the manifest, I've found it
useful to be able to examine the manifest _in_situ_:

<http://sites.google.com/site/drjohnbmatthews/manifesto>

to which I've added these informative references.

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
.



Relevant Pages