Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

install junit on unix box

 
tue march
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

can anybody tell how to install junit on unix box.

i know that classpath should be set.

but how to unzip the zip file on unix box, i am not able do that, i dont

have unzip on my unix box.

please kindly provide some suggestions.

Thanks in advance,
march
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally you would type:

Use the man pages to check out the flags available. If you don't have unzip then have a look for gZip or compress.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our Unix forum...
[ April 28, 2005: Message edited by: Ilja Preuss ]
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither gzip nor compress can unzip a ZIP file. They are single-file compression utilities and ZIP files are compressed collections of files.

However the zip, unzip and several other Info-ZIP utilities are readily available for Linux/Unix. For that matter, for Amiga, OS/2 and z/OS. ZIP file format was designed to be handled on a lot of different platforms.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A java-man will of course allways have a jar at hand:


[ April 29, 2005: Message edited by: Stefan Wagner ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim Holloway:
Neither gzip nor compress can unzip a ZIP file. They are single-file compression utilities and ZIP files are compressed collections of files.

However the zip, unzip and several other Info-ZIP utilities are readily available for Linux/Unix. For that matter, for Amiga, OS/2 and z/OS. ZIP file format was designed to be handled on a lot of different platforms.


gzip might not unzip a zip file but gunzip will!

Layne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic