View Single Post
  #1 (permalink)  
Old July 6th, 2001
Abaris's Avatar
Abaris Abaris is offline
Ringwraith
 
Join Date: May 13th, 2001
Location: Europe
Posts: 86
Abaris is flying high
Lightbulb A hint about Jar-files

Well I don't know if anyone of you folks has actually read the Jar-Specification, but I do know that noone really uses the information in it. If these two lines were included in the LimeWire.jar's Manifest File (Oh, I forgot, LimeWire.jar does not even have a Manifest File! Why not? Include one!):

Class-Path: collections.jar
Main-Class: a/a/a/b/Main

then LimeWire could be run on every platform that has a JRE 1.2 or higher installed by just typing "java -jar LimeWire.jar". On Windows and Solaris you could run LimeWire.jar by clicking on it just like any native executable. On Windows, you can create shortcuts to Lime by just dragging LimeWire.jar to the Desktop with the right mouse button and select "create shortcut". Why do you make things so complicated? Noone needs to start "RunLime.class" or to type "java -cp LimeWire.jar;collections.jar a.a.a.b.Main."

PS: Can you tell me why you bundle a windows dll with the java version of LimeWire? Or with the linux version? i don't get it, sorry! if i wanted improved performance on windows, i would download the windows version, not the java version.
Reply With Quote