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 Search Today's Posts Mark Forums Read

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


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old July 6th, 2001
Abaris's Avatar
Ringwraith
 
Join Date: May 13th, 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
 

Thread Tools
Display Modes

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 03:59 AM
Can Anyone Give Me a Hint???? johnnybgood1 Open Discussion topics 2 April 13th, 2006 10:36 AM
A hint about Jar-files Abaris Open Discussion topics 2 July 7th, 2001 03:05 AM


All times are GMT -7. The time now is 12:53 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.