aspose file tools*
The moose likes Java in General and the fly likes moving a .jar to sys dir Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

moving a .jar to sys dir

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82
////////////////////////////////////////////////
moving a .jar to sys dir
//////////////////////////////////////////
Hello;
I can make a .jar from my program and move it to a folder in my project
The Command to make the -cmf (non runnable) .jar
works fine by adding the .jar to a folder in my project.
but my question is:
what do I have to do to create that .jar if it originated on
a disk drive and write it to a dir I have created on the hard drive?
is there some code to add a icon to the desktop too?

thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Something's wrong with your "/" key; looks like it's stuck.

I'm not sure what you're asking--can't you just copy it to whatever directory you want?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4522
    
    5

Cross post
http://www.daniweb.com/forums/thread303521.html

Split up into this thread and two others
http://www.coderanch.com/t/506842/java/java/create-jar-gm-jar-make
http://www.coderanch.com/t/506837/java/java/make-jar-runnable


luck, db
There are no new questions, but there may be new answers.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Looks like this one was answered, too, on the other forum, days ago: locking from irritation.

BeForthrightWhenCrossPostingToOtherSites
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: moving a .jar to sys dir
 
Similar Threads
Urgent -- help please.. mapping unix project folder in JDeveloper
Applet runs only if class file is in the same dir
make .jar runnable
An Ant Rant
create this .jar gm.jar. and make it