Opening '.rar' — Help Needed

Discussion in 'Windows, Linux & Others on the Mac' started by SinceImStupid, Sep 13, 2010.

  1. SinceImStupid macrumors newbie

    Joined:
    Sep 13, 2010
    #1
    Hey, I'm quite an experienced thirteen year old, but I just can't figure out to do with an expanded .rar file. I've downloaded both 'The Unarchiver' and 'UnrarX'.
    What do I do with it once I've expanded it?
     
  2. swiftaw macrumors 603

    swiftaw

    Joined:
    Jan 31, 2005
    Location:
    Omaha, NE, USA
    #2
    What type of file is it once it has been expanded?
     
  3. SinceImStupid thread starter macrumors newbie

    Joined:
    Sep 13, 2010
    #3
    Well I don't really know where it goes. I think it might go into a file instead of .rar. I see .bat's and .classes.

    EDIT: In other words, I need to get this to .jar or something that can actually run the program.
     
  4. alphaod macrumors Core

    alphaod

    Joined:
    Feb 9, 2008
    Location:
    NYC
    #4
    .bat is a Windows script extension
    .class are java class files
    .jar is a compile java VM

    So to get a .jar you would need to compile your .class files in a java compiler.
     
  5. Tarek macrumors 6502

    Joined:
    Jun 25, 2009
    Location:
    Cairo, Egypt
    #5
    When you extract a .RAR, you'll find the files/folder in the same place where the .RAR is. So it functions like the "Extract Here" feature in WinRAR.

    As for the .jar file, I thought it was for Windows Mobile phones?
     
  6. arashb macrumors 6502

    Joined:
    May 3, 2009
    #6
    This may help to see what comes out of the .rar:

    Create a new folder on your desktop and drag the .rar file in it and then run UnRarX and extract it, then whatever gets extracted will be in the folder that the .rar file is in.
     
  7. balamw Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #7
    It's a Java Archive, which could be platform independent.

    You should be able to launch it from Terminal.app using
    Code:
    java -jar /PATH/TO/JAR/FILE/NAMEOFJARFILE.JAR
    (Drag and drop the JAR file on to your Terminal Window to get the filename).

    (Side note. JAR files are actually ZIP files. If you rename them you can extract the contents.).

    B
     

Share This Page