Results 1 to 9 of 9

Thread: Problem installing jedit upgrade

  1. #1

    Default Problem installing jedit upgrade

    I have jedit 5.0 installed under OpenSuse 12.3. The jedit installer on the jedit website is a jar file. When I try to install jedit 5.1 from the jar file with:

    java -jar jedit5.1.0install.jar

    I eventually get:

    The installer could not create the destination directory. Maybe you do not have write permission ?

    but since the destination directory is beneath my home directory this can hardly be the case. Anybody have any idea what is wrong with the OS java implementation ? Looking at Yast it says it is java-1_7_0-openjedk version 1.7.0.6-8.18.1-x86_64.

    I had no problems installing jedit5.1.0install.jar so this problem seems very odd.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,956
    Blog Entries
    2

    Default Re: Problem installing jedit upgrade

    The way the installer works may have changed. Or, IMO more likely you may have mis-remembered how you installed in the first place.

    In fact, if you install a generic package from a non-openSUSE site, I'd be surprised that by default a destination directory is defined other than in the same directory or in a standard location relative to root (instead of the logged in User). This is because different distros can mount the User files differently which would create installer headaches using that path.

    So,
    1. Read the INSTALL file or directions that normally come with any package or the documentation specific to that package.
    2. Try running the file with -h or --help to see if there are installation options.

    I highly doubt that the package install would likely install where you expected by default but maybe with a switch will do as you wish.

    HTH,
    TSU

  3. #3

    Default Re: Problem installing jedit upgrade

    Quote Originally Posted by eldiener View Post
    I have jedit 5.0 installed under OpenSuse 12.3. The jedit installer on the jedit website is a jar file. When I try to install jedit 5.1 from the jar file with:

    java -jar jedit5.1.0install.jar

    I eventually get:

    The installer could not create the destination directory. Maybe you do not have write permission ?

    but since the destination directory is beneath my home directory this can hardly be the case. Anybody have any idea what is wrong with the OS java implementation ? Looking at Yast it says it is java-1_7_0-openjedk version 1.7.0.6-8.18.1-x86_64.

    I had no problems installing jedit5.1.0install.jar so this problem seems very odd.
    The last line should read:

    I had no problems installing jedit5.0.0install.jar so this problem seems very odd.

  4. #4

    Default Re: Problem installing jedit upgrade

    Quote Originally Posted by tsu2 View Post
    The way the installer works may have changed. Or, IMO more likely you may have mis-remembered how you installed in the first place.

    In fact, if you install a generic package from a non-openSUSE site, I'd be surprised that by default a destination directory is defined other than in the same directory or in a standard location relative to root (instead of the logged in User). This is because different distros can mount the User files differently which would create installer headaches using that path.

    So,
    1. Read the INSTALL file or directions that normally come with any package or the documentation specific to that package.
    2. Try running the file with -h or --help to see if there are installation options.

    I highly doubt that the package install would likely install where you expected by default but maybe with a switch will do as you wish.

    HTH,
    TSU
    The installer was the same for jedit5.0.0install.jar. The line I executed there was:

    java -jar jedit5.0.0install.jar

    and it installed properly. The line for version 5.1 is:

    java -jar jedit5.1.0install.jar

    Even though the installation starts from a terminal window, once it starts it comes up with a GUI interface which presents the default install directories for the jedit The installation gives the paths it will install the files. These paths are for the jedit installation files itself, for the startup jedit script, and for the jedit man pages. The defaults for these paths are all subdirectories of the my home directory. That's just how the installation works.

    The installer consists of a single jar file. There is nothing else to read prior to the install and the instructions to install it are on the jedit site and are followed by me.

    The installation also works properly for some other Linux distros ( CentOS 5 and 6, Mageia 3 ) but also fails in the same way as it does in OS 12.3 when I try to install the 5.1 version in Fedora 18.

  5. #5
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Problem installing jedit upgrade

    eldiener wrote:
    >
    > I have jedit 5.0 installed under OpenSuse 12.3. The jedit installer on
    > the jedit website is a jar file. When I try to install jedit 5.1 from
    > the jar file with:
    >
    > java -jar jedit5.1.0install.jar
    >
    > I eventually get:
    >
    > The installer could not create the destination directory. Maybe you do
    > not have write permission ?
    >
    > but since the destination directory is beneath my home directory this
    > can hardly be the case. Anybody have any idea what is wrong with the OS
    > java implementation ? Looking at Yast it says it is java-1_7_0-openjedk
    > version 1.7.0.6-8.18.1-x86_64.
    >
    > I had no problems installing jedit5.1.0install.jar so this problem seems
    > very odd.
    >
    >

    I get same error on my machine.Solved it by unchecking "API" checkbox. I
    think you should uncheck the checkbox "API documentation" in "Choose
    components to install" screen. The docs probably go into "system"
    folders(folders other than /home) in Linux.

    --
    GNOME 3.6.2
    openSUSE Release 12.3 (Dartmouth) 64-bit
    Kernel Linux 3.7.10-1.16-desktop

  6. #6

    Default Re: Problem installing jedit upgrade

    Quote Originally Posted by vazhavandan View Post
    eldiener wrote:
    >
    > I have jedit 5.0 installed under OpenSuse 12.3. The jedit installer on
    > the jedit website is a jar file. When I try to install jedit 5.1 from
    > the jar file with:
    >
    > java -jar jedit5.1.0install.jar
    >
    > I eventually get:
    >
    > The installer could not create the destination directory. Maybe you do
    > not have write permission ?
    >
    > but since the destination directory is beneath my home directory this
    > can hardly be the case. Anybody have any idea what is wrong with the OS
    > java implementation ? Looking at Yast it says it is java-1_7_0-openjedk
    > version 1.7.0.6-8.18.1-x86_64.
    >
    > I had no problems installing jedit5.1.0install.jar so this problem seems
    > very odd.
    >
    >

    I get same error on my machine.Solved it by unchecking "API" checkbox. I
    think you should uncheck the checkbox "API documentation" in "Choose
    components to install" screen. The docs probably go into "system"
    folders(folders other than /home) in Linux.

    --
    GNOME 3.6.2
    openSUSE Release 12.3 (Dartmouth) 64-bit
    Kernel Linux 3.7.10-1.16-desktop
    That worked. Thank you very much !

  7. #7
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Problem installing jedit upgrade

    eldiener wrote:
    > That worked. Thank you very much !

    you are welcome

    --
    GNOME 3.6.2
    openSUSE Release 12.3 (Dartmouth) 64-bit
    Kernel Linux 3.7.10-1.16-desktop

  8. #8

    Default Re: Problem installing jedit upgrade

    Quote Originally Posted by vazhavandan View Post
    I get same error on my machine.Solved it by unchecking "API" checkbox. I
    think you should uncheck the checkbox "API documentation" in "Choose
    components to install" screen. The docs probably go into "system"
    folders(folders other than /home) in Linux.

    --
    GNOME 3.6.2
    openSUSE Release 12.3 (Dartmouth) 64-bit
    Kernel Linux 3.7.10-1.16-desktop
    Thank you, helped me with the same problem. But: i got this error even if the installation command was run as root
    # java -jar /home/miroush/Downloads/jedit5.1.0install.jar
    This confuses me - how come the root cannot create a directory? Seems te error message doesn't tell the whole truth.

  9. #9
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Problem installing jedit upgrade

    miroush78 wrote:
    >


    > Thank you, helped me with the same problem.
    >
    >

    You are welcome.

    --
    GNOME 3.10.2
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop

Tags for this Thread

Posting Permissions

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