[XUBUNTU] Permission non accordée.

Résolu
Bonjour,

root@Xubuntu:/usr/local# ./j2re-1_3_1_02-linux-i386.bin
bash: ./j2re-1_3_1_02-linux-i386.bin: Permission non accordée
Configuration: Linux
Firefox 2.0.0.4


Comment faire pour avoir la permission ?
Merci d'avance ;)

6 réponses

  1. Modérateur
    Hello, comme ça :
    chmod 777 j2re-1_3_1_02-linux-i386.bin
    ;-)
    0
    1. Merci beaucoup pour cette réponse rapide :) mais voilà ce n'est qu'un bout de mon problème...
      Je m'explique:
      Je veux installer un programme utilisant apparement Java. Mais l'orsque je l'execute voici ce qu'il me dit:

      Java exec found in PATH. Verifying...
      OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at https://www.java.com/en/
      OOPS, unable to locate java exec in /usr/lib/ hierarchy
      You need to upgrade to JRE 1.4.x or newer from https://www.java.com/en/
      ls: /usr/java/j*: Aucun fichier ou répertoire de ce type
      OOPS, unable to locate java exec in /usr/java/ hierarchy
      You need to upgrade to JRE 1.4.x or newer from https://www.java.com/en/
      ls: /opt/j*: Aucun fichier ou répertoire de ce type
      OOPS, unable to locate java exec in /opt/ hierarchy
      You need to upgrade to JRE 1.4.x or newer from https://www.java.com/en/

      Alors je télécharge JRE qui est en .bin mais lorsque je l'execute comme dit précedement rien ne se passe et Java me répond la même chose...

      Merci pour votre aide.
      0
      1. Contributeur
        bonjour,
        ou chmod u+x jre...
        et ensuite ./jre...
        a+
        0
        1. Il y'a quelque chose que je ne comprend pas:

          On me demande la version 1.4.x
          "You need to upgrade to JRE 1.4.x or newer from https://www.java.com/en/"

          Je fais donc "java -version"
          et voila ce que ça me met:

          root@Xubuntu:~# java -version
          java version "1.4.2"
          gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5)

          Copyright (C) 2006 Free Software Foundation, Inc.
          This is free software; see the source for copying conditions. There is NO
          warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

          Donc je suis à la version 1.4.2 comme demandé quesqu'y ne va pas ???
          0
          1. Modérateur
            (mando@aldur) (~) $ apt-cache search jre
            docbook-jrefentry - DocBook XML JRefEntry DTD
            docbook-xsl - stylesheets for processing DocBook XML files to various output formats
            docbook-xsl-stylesheets-ko - Stylesheets for processing DocBook XML files to HTML and FO in korean.
            kaffe - A JVM to run Java bytecode
            libjrexx-java - automaton based regluar expression API for java
            sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
            sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
            sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
            sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
            sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
            sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
            sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
            sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
            

            D'où ensuite un
            sudo aptitude install sun-java6-jre

            Bonne chance
            0
            1. Problème réglé,
              En fait il faut mettre à jour JRE avec le gestionnaire de paquets Synaptic, puis dans le terminal taper:
              sudo update-alternatives --config java.

              Et le problème est réglé!
              Merci à vous de m'avoir aidé sur ce problème :)
              0