my dog learned polymorphism*
The moose likes Linux / UNIX and the fly likes UNIX/tar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "UNIX/tar file" Watch "UNIX/tar file" New topic

UNIX/tar file

divya madala
Ranch Hand

Joined: Jan 10, 2001
Posts: 61
Hi All,
Inorder to move a java project thats already compiled on eclipse, I chose export and converted as a Jar file and then to tar file.
Now when I moved the tar file to UNIX box, and did a xvf on it, why am I not able to see the directory structure? What I want to do is go to "src" folder where my code is supposed to be present and edit the code that I developed before.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

If you went to a JAR file then to a TAR file, you would need to untar then unjar before you can see the directory structure. That is if I am understanding you correclty. Why are you taking a JAR to a TAR anyway?

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: UNIX/tar file
Similar Threads
Difference between Linux and other flavored Unix (AIX, Solaris, HPUX)
Implement JAAS in Struts
Not able to install Eclipse in UNIX
.jar uses what format
TOMCAT setup on HP