Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Open Discussion topics
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Open Discussion topics Discuss the time of day, whatever you want to. This is the hangout area. If you have LimeWire problems, post them here too.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 6th, 2001
Abaris's Avatar
Ringwraith
 
Join Date: May 14th, 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
  #2 (permalink)  
Old July 7th, 2001
Gnutella Muse
 
Join Date: February 18th, 2001
Posts: 207
gbildson is flying high
Default

I have wanted that for a long time myself. Not sure why we still don't do it other than there is some trick to properly creating the manefest file for inclusion into the jar (perhaps unix/dos mode file settings (cr/lf)). I have built jars that do work as you mention although generally with collections.jar content included into the LimeWire.jar. collections.jar will hopefully go away soon since it is a version of Java 1.2 collections for use with Java 1.1 (needed for Macs).

The dll is there because we don't build separate jars and some LimeWireOther.zip users are Windows users.

-greg
Reply With Quote
  #3 (permalink)  
Old July 7th, 2001
Gnutella Muse
 
Join Date: February 18th, 2001
Posts: 207
gbildson is flying high
Default

RunLime.class was added to allow the jar to be updated before loading it.

-greg
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hint to hyperlink to single post. BeHereNow Open Discussion topics 7 November 20th, 2006 04:59 AM
Can Anyone Give Me a Hint???? johnnybgood1 Open Discussion topics 2 April 13th, 2006 11:36 AM
A hint about Jar-files Abaris General Discussion 2 July 12th, 2001 05:11 AM


All times are GMT -7. The time now is 11:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.