Find the answer to your Linux question:
Results 1 to 5 of 5
Dear All, I want to execute the Jar Files in RHEL 5.3. I am getting following output if trying to execute the jar file. # /bin/sh -c "java -jar JavaSetup.jar" ...
  1. #1
    Just Joined! mushtaque_asghar's Avatar
    Join Date
    May 2009
    Location
    Sukkur, Sindh, Pakistan
    Posts
    7

    Can not run execute Jar Files in Red Hat Enterprise Linux

    Dear All,

    I want to execute the Jar Files in RHEL 5.3. I am getting following output if trying to execute the jar file.

    # /bin/sh -c "java -jar JavaSetup.jar"
    System locale: en_US
    Root privileges
    OS: Linux
    java.lang.IllegalArgumentException: URI "file:JavaSetup.jar" is not hierarchical
    at java.io.File.<init>(libgcj.so.7rh)
    at org.openoffice.setup.Util.SystemManager.getResourc eRoot(SystemManager.java:105)
    at org.openoffice.setup.InstallData.<init>(InstallDat a.java:132)
    at org.openoffice.setup.InstallData.getInstance(Insta llData.java:120)
    at org.openoffice.setup.SetupFrame.<init>(SetupFrame. java:97)
    at org.openoffice.setup.Main.main(Main.java:57)
    Support required regarding this isseue.

  2. #2
    Just Joined!
    Join Date
    Apr 2009
    Location
    Berkeley, California
    Posts
    20
    Quote Originally Posted by mushtaque_asghar View Post
    Dear All,

    I want to execute the Jar Files in RHEL 5.3. I am getting following output if trying to execute the jar file.



    Support required regarding this isseue.
    Did you install the Java environment yourself, or did you use a rpm package? Also, which jar files are you trying to execute?

  3. #3
    Just Joined! mushtaque_asghar's Avatar
    Join Date
    May 2009
    Location
    Sukkur, Sindh, Pakistan
    Posts
    7

    Exclamation Re: Can not run execute Jar Files in Red Hat Enterprise Linux

    It was installed with installation of OpenOffice.org 3.0.1 automatically.

  4. #4
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    no idea, try re downloading the package again. you won't belice i am trying to download the java linux packages from sun java websites and it tells meeverytime that the package is corrupt. so you better download it again.
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I would install the Sun JDK or Open JDK and make them the default java. I think the current default java on your system is GCJ and IMHO it does not always work very well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...