img_6667.jpg p1040707 crw_7998 img_9450 crw_0269 Rivers Of Sound Kristen's Wedding crw_5494.jpg Hursley Fireworks Kristen's Wedding img_6626.jpg Living Rainforest img_1152 Hursley Fireworks crw_0399 Rivers Of Sound img_15650 img_14309 Hursley Model Railway img_1674

@antonpiatek on twitter

Posting tweet...

Powered by Twitter Tools

Java is ignoring me

I spent a fair amount of time the other day, trying to figure out why java is ignoring all classpath options I had set (both command line and CLASSPATH var) when working with my Jar file. After getting at least one other person to have a look, google finally yielded someone with the same problem

Turns out that it is not a bug. It is in fact behaving correctly – yes accoding the the specs java is supposed to ignore all classpath options when you are using a Jar file. I guess I have never done any complex java and put it in a Jar (though most people I talk to didn’t realise this, or forgot about it)
The solution is of course to put a line in the manifest so that it knows what jar files it needs…

Random Posts

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">