|
|
installing jar files
java jar files dont get installed. when you run java program that needs to use another jar file to run, you simply include that jar file in the classpath of the program you are executing. for instance, if foo.class imports classes from the bar.jar file, you would start foo from the command line like this:
installing jar files
Thank you. Your comments encouraged me to take a fresh look at things, and I realize now I was confusing the jar file and the command to start the app. Saxon works. I'm working throught the classpath complexities, too, as there seem to be several places to store classpath information. I'm not sure I wish to modify the .plist file yet.
installing jar files
the classpath is actually fairly easy to understand albeit very verbose. :) some people like to maintain a global CLASSPATH variable in their environment, but i don't like that approach since you tend to lose sight of the dependencies between your programs and their libraries. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.36 seconds |
|