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

moving a .jar to sys dir

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82
moving a .jar to sys dir
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?

David Newton

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

Joined: May 03, 2008
Posts: 4522

Cross post

Split up into this thread and two others

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

Joined: Sep 29, 2008
Posts: 12617

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

I agree. Here's the link:
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