IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Eclipse Java Discussion :

[Linux]Exécution Eclipse sous linux


Sujet :

Eclipse Java

  1. #1
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Juillet 2005
    Messages
    46
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2005
    Messages : 46
    Points : 29
    Points
    29
    Par défaut [Linux]Exécution Eclipse sous linux
    Bonjour, j'ai installé linux sur ma machine linux mais j'ai un petit problème à l'éxécution. En effet, j'ai mi s le repertoire eclipse/ dans /usr/local. Je le lance à partir de la ligne de commande par /usr/local/eclipse/eclipse mais un problème de droits se pose car j'ai l'erreur suivante:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    An error has occurred. See the log file
    /usr/local/eclipse/configuration/1132058726723.log.
    Mais quand je lance eclipse en root ça marche.J'ai donc mis les droits 777 (chmod 777 eclipseà mais j'ai toujours la même erreur.

    Comment donc faire pour l'exécuter sans être root?

    Merci


    [Modéré par Didier] : ajout de tag dans le titre - Les règles du forum Java

  2. #2
    Rédacteur
    Avatar de lunatix
    Homme Profil pro
    Architecte technique
    Inscrit en
    Novembre 2002
    Messages
    1 960
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Architecte technique

    Informations forums :
    Inscription : Novembre 2002
    Messages : 1 960
    Points : 3 736
    Points
    3 736
    Par défaut
    et, tu as jeté un oeil sur le log file en question ?
    tu as peut etre un probleme de droits sur java. tu peux executer java en user normal (PS, chmod 777, c'est mal :-) )

  3. #3
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Juillet 2005
    Messages
    46
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2005
    Messages : 46
    Points : 29
    Points
    29
    Par défaut
    voici une exemple de fichier .log
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
     
    !SESSION 2005-11-15 13:36:24.417 -----------------------------------------------
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
    Command-line arguments:  -os linux -ws gtk -arch x86
     
    !ENTRY org.eclipse.osgi 2005-11-15 13:36:24.705
    !MESSAGE Error reading configuration: /usr/local/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
    !STACK 0
    java.io.FileNotFoundException: /usr/local/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
    	at java.io.FileOutputStream.openAppend(Native Method)
    	at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    	at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
    	at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
    	at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
    	at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initFileManager(EclipseAdaptor.java:818)
    	at org.eclipse.core.runtime.adaptor.EclipseAdaptor.initialize(EclipseAdaptor.java:139)
    	at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:128)
    	at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:106)
    	at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
    	at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:272)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:585)
    	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    	at org.eclipse.core.launcher.Main.run(Main.java:973)
    	at org.eclipse.core.launcher.Main.main(Main.java:948)
     
    !ENTRY initial@reference:file:plugins/org.eclipse.core.runtime_3.1.1.jar/ 0 0 2005-11-15 13:36:25.132
    !MESSAGE FrameworkEvent.ERROR
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle org.eclipse.core.runtime.
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
    	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
    Caused by: java.io.FileNotFoundException: /usr/local/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
    	at java.io.FileOutputStream.openAppend(Native Method)
    	at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    	at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
    	at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
    	at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
    	at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
    	at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
    	at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
    	at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
    	... 10 more
    Root exception:
    java.io.FileNotFoundException: /usr/local/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
    	at java.io.FileOutputStream.openAppend(Native Method)
    	at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    	at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
    	at org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
    	at org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
    	at org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
    	at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
    	at org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
    	at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
    	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
     
    !ENTRY initial@reference:file:plugins/org.eclipse.update.configurator_3.1.0.jar/ 0 0 2005-11-15 13:36:25.160
    !MESSAGE FrameworkEvent.ERROR
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() of bundle org.eclipse.update.configurator.
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
    	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
    Caused by: java.lang.Exception: Cannot initialize the Update Configurator
    	at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
    	at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
    	... 10 more
    Root exception:
    java.lang.Exception: Cannot initialize the Update Configurator
    	at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
    	at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
    	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
     
    !ENTRY org.eclipse.osgi 2005-11-15 13:36:25.162
    !MESSAGE Startup error
    !STACK 1
    java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.1.1.jar/ [1] is not active.
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:410)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:585)
    	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    	at org.eclipse.core.launcher.Main.run(Main.java:973)
    	at org.eclipse.core.launcher.Main.main(Main.java:948)
    Merci

Discussions similaires

  1. eclipse sous linux
    Par bassam0205 dans le forum Eclipse Java
    Réponses: 0
    Dernier message: 16/10/2007, 15h44
  2. Crée un exécutable java sous linux
    Par Info_76 dans le forum Applications et environnements graphiques
    Réponses: 3
    Dernier message: 30/07/2007, 22h33
  3. Démarrer eclipse sous LINUX
    Par guestCam dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 25/03/2007, 00h57
  4. Lancement eclipse sous Linux
    Par _cheval_ dans le forum Eclipse Java
    Réponses: 4
    Dernier message: 11/01/2007, 21h36
  5. Exécutable MATLAB sous Linux
    Par clarabide dans le forum MATLAB
    Réponses: 1
    Dernier message: 05/12/2006, 09h10

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo