wood burning stoves
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 5045

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: http://aspose.com/file-tools
subject: moving a .jar to sys dir
It's not a secret anymore!