Gnutella Forums  

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

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


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

I posted this to the LimeWire forum but I found that it is also true for Phex 0.5.1. Konrad told us that the new XML functionality caused a change in the way Phex is started. I believe the reason for this startup change is the fact that he has splitted phex into multiple jar-files. However, if you just include these two lines in the phex.jar's Manifest File:

Class-Path: crimson.jar jaxp.jar xalan.jar
Main-Class: phex.f

then Phex could be run on every platform that has a JRE 1.2 or higher installed by just typing "java -jar phex.jar". On Windows and Solaris you could run phex.jar by clicking on it just like any native executable. On Windows, you can create shortcuts to Phex by just dragging phex.jar to the Desktop with the right mouse button and select "create shortcut". Why do you make things so complicated? Noone needs to run "StartPhex.class" or to type "java -cp phex.jar;crimson.jar;jaxp.jar;xalan.jar phex.f". I tried it on my machine and it works. Having seen things like "StartPhex.class" or "RunLime.class", I really wonder if anyone has actually read the Jar-Specification. You should not use classes outside their archives since java 1.1 was released.
Reply With Quote
  #2 (permalink)  
Old July 10th, 2001
Unregistered
Guest
 
Posts: n/a
Talking

Glad to see someone feels like I do. I've made that same recommendation, and even added to the feature list at sourceforge, but it seems like they are to busy to notice, or its not a big deal to them. Its a simple and quick fix (assuming their still using ant to build), I even pointed to the file to change.
Reply With Quote
  #3 (permalink)  
Old July 12th, 2001
Phex Developer
 
Join Date: August 7th, 2000
Location: Munich, Bavaria, Germany
Posts: 122
konrad_h is flying high
Default implenented it

Well, we implemented this in the latest release (0.5.2). Thanks for this solution, it really helped and made Phex a lot more usable for non java-pros.

Thanks again,
Konrad
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 Open Discussion topics 2 July 7th, 2001 04:05 AM


All times are GMT -7. The time now is 01:15 AM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.