10 Replies Latest reply: Mar 16, 2007 9:18 AM by 807599 RSS

    jar files

    807599
      we can see the jar file details by using the command jar -tvf *.jar

      how can we unzip it I mean to say that we should be able to convert whole jar package into files

      thanks in advance
        • 1. Re: jar files
          807599
          jar -xvf myjar.jar
          • 2. Re: jar files
            807599
            Thanks a lot
            • 3. Re: jar files
              807599
              jar files are just a zip file, so if you don't want to use the command line (like we did in the stone age) you can just associate .jar files with Winzip or whatever zip util you use.
              • 4. Re: jar files
                807599
                jar files are just a zip file, so if you don't want
                to use the command line (like we did in the stone
                age) you can just associate .jar files with Winzip or
                whatever zip util you use.
                although he's already implied willingness to do it the "real ale" way. don't you still use the command-line? I couldn't live without it
                • 5. Re: jar files
                  807599
                  I use the command line when i'm on Solaris or remoting to some legacy system, and then I remember why PC's and Mac are so popular. I much prefer Outlook to Pine. I love the fact that Eclipse generates my getters and setters and formats my code for me vs. using Notepad which takes 10 times as long. I also like playing 3D games instead of text based games. So I'm thinking if you prefer command line, you must be drinking a lot of ale or you're really old and resistent to change. Takes all kinds, takes all kinds.
                  • 6. Re: jar files
                    807599
                    I use the command line when i'm on Solaris or
                    remoting to some legacy system, and then I remember
                    why PC's and Mac are so popular. I much prefer
                    Outlook to Pine. I love the fact that Eclipse
                    generates my getters and setters and formats my code
                    for me vs. using Notepad which takes 10 times as
                    long. I also like playing 3D games instead of text
                    based games. So I'm thinking if you prefer command
                    line, you must be drinking a lot of ale or you're
                    really old and resistent to change. Takes all kinds,
                    takes all kinds.
                    Really old, yeah ... like in Over 30?
                    • 7. Re: jar files
                      807599
                      So I'm thinking if you prefer command
                      line, you must be drinking a lot of ale or you're
                      really old and resistent to change. Takes all kinds,
                      takes all kinds.
                      At home, I run Linux, and do most everything I can on command line. The main reason I even boot up into any sort of window manager is so I can have multiple consoles up at once :), along with Eclipse. I love Eclipse for Java coding, but for any other language, it's good ol' VI (or vim) for me. I even drive a truck with a standard transmission.

                      I'm not yet 30, and I started using computers with Windows 95 (after my Commodore Vic-20 burned out when I was 12, of course :). I think it's a style decision.
                      • 8. Re: jar files
                        800241
                        So I'm thinking if you prefer command
                        line, you must be drinking a lot of ale or you're
                        really old and resistent to change. Takes all
                        kinds,
                        takes all kinds.
                        At home, I run Linux, and do most everything I can on
                        command line. The main reason I even boot up into
                        any sort of window manager is so I can have multiple
                        consoles up at once :), along with Eclipse. I love
                        Eclipse for Java coding, but for any other language,
                        it's good ol' VI (or vim) for me. I even drive a
                        truck with a standard transmission.

                        I'm not yet 30, and I started using computers with
                        Windows 95 (after my Commodore Vic-20 burned out when
                        I was 12, of course :). I think it's a style
                        decision.
                        I would say it's also a matter of circumstances. I know many people who will only use text editors because they are in consulting. They don't want to be cursing at every client that will only give them terminal access. (He does lots of remote work on unix boxes).

                        I can do with either or, only thing I can't stand to be without is code with syntax highlighting. Auto-complete is nice, but I'm starting to find I can't think of names of methods on my own anymore, which is not something I want to see.
                        • 9. Re: jar files
                          807599
                          I used to use vi back in the day. In my opinion, it's just about the worst program I've ever used. Not sure why, because people love it. But I'd love to find the guy who created vi and kick him in the nads. I'll ftp a file over to my box, edit it with a text editor, and ftp it back. That's quicker than digging up the horribly unintuitive instructions for how to use vi which I thankfully purged from memory a decade ago as it gave me nightmares. But then there's different levels of geek I guess. I mean, I don't live in the basement of my grandma's house playing WOW all night.
                          • 10. Re: jar files
                            807599
                            I used to use vi back in the day. In my opinion, it's
                            just about the worst program I've ever used. Not sure
                            why, because people love it. But I'd love to find the
                            guy who created vi and kick him in the nads. I'll ftp
                            a file over to my box, edit it with a text editor,
                            and ftp it back. That's quicker than digging up the
                            horribly unintuitive instructions for how to use vi
                            which I thankfully purged from memory a decade ago as
                            it gave me nightmares. But then there's different
                            levels of geek I guess. I mean, I don't live in the
                            basement of my grandma's house playing WOW all night.
                            When 1st introduced to it I thought I'd always hate and used to FTP back and forth as well. Now I like it.