Précédent   Forum des professionnels en informatique > Systèmes > Linux > Applications
Applications Questions sur l'utilisation d'applications, du shell, et des interfaces graphiques (KDE, Gnome, XFCE... )
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 13/03/2006, 09h19   #1
Membre habitué
 
Avatar de vbcasimir
 
Inscription : mars 2003
Messages : 444
Détails du profil
Informations forums :
Inscription : mars 2003
Messages : 444
Points : 114
Points : 114
Par défaut Environnement java - jre not found

Bonjour,

J'ai un souci lorsque je lance un programme avec le message suivant
Code :
1
2
 
./eim.sh : exec : jre : not found

J'ai vérifié l'existance du module JAVA il existe bien dans le PATH

Code :
1
2
 
PATH=/usr/java/jdk1.3.1_03/bin:/usr/java/jdk1.3.1_03/jre/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
Je ne sais pas vraiment d'où vient le souci ?

merci[/code]
__________________
c@simir
vbcasimir est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/03/2006, 09h22   #2
Membre habitué
 
Michaël Hooreman
Inscription : octobre 2005
Messages : 111
Détails du profil
Informations personnelles :
Nom : Michaël Hooreman
Âge : 31
Localisation : Belgique

Informations forums :
Inscription : octobre 2005
Messages : 111
Points : 134
Points : 134
Pourrais-tu nous donner le code de eim.sh?
mhooreman est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/03/2006, 09h26   #3
Membre habitué
 
Avatar de vbcasimir
 
Inscription : mars 2003
Messages : 444
Détails du profil
Informations forums :
Inscription : mars 2003
Messages : 444
Points : 114
Points : 114
Code :
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
 
#!/bin/sh
#
# copyright (c) 1998 by Oracle Corporation
#
# PRODUCT
# Oracle Enterprise Manager, Version 2.0
#
# FILENAME
# eim.sh
#
# DESCRIPTION
# This script is used to launch Oracle Express Instance Manager
#
#
 
echo "Oracle Express Instance Manager 6.3.4.0.0"
 
ORACLE_HOME=/apps/express/oes634
export ORACLE_HOME
 
CLASSROOT=$ORACLE_HOME/classes
JLIBROOT=$ORACLE_HOME/jlib
BALICLASSES=$JLIBROOT/ewtcompat-3_1_9.jar:$JLIBROOT/ewt-3_1_10.jar:$JLIBROOT/ewt-3_3_6.jar:$JLIBROOT/share-1_0_8.jar
HELPCLASSES=$JLIBROOT/help-3_1_8.jar:$JLIBROOT/oracle_ice-4_03_3.jar
DBUICLASSES=$JLIBROOT/dbui-1_0_3.jar
JDBCCLASSES=$ORACLE_HOME/jdbc/lib/classes111.zip
UTILCLASSES=$CLASSROOT/lib/pvUtils.zip
VISIORBCLASSES=$ORACLE_HOME/lib/vbj30ssl.jar:$ORACLE_HOME/lib/vbjorb.jar:$ORACLE_HOME/lib/vbjapp.jar:$ORACLE_HOME/lib/vbjtools.jar:$ORACLE_HOME/lib/vbjcosnm.jar:$CLASSROOT/lib/sysman204nls.zip
ORBCLASSES=$VISIORBCLASSES
KODIAKCLASSES=$JLIBROOT/kodiak-1_0_2.jar
CLASSPATHADD=$ORBCLASSES:$BALICLASSES:$HELPCLASSES:$DBUICLASSES:$JDBCCLASSES:$UTILCLASSES:$CLASSROOT:$CLASSROOT/lib/sysmanmaf.jar:$KODIAKCLASSES
 
 
unset CLASSPATH # jre won't find core api's if CLASSPATH is set.
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
 
PATH=/bin:/home/express/jre/1.1.8/bin:$PATH
export PATH
 
if ["$ORACLE_OEM_JAVARUNTIME" = ""]
then
  JRE="jre -nojit"
  CLASSPATH_QUAL=cp
else
  JRE="$ORACLE_OEM_JAVARUNTIME/bin/java -native -nojit"
  CLASSPATH_QUAL=classpath
  CLASSPATHADD=$CLASSPATHADD:$ORACLE_OEM_JAVARUNTIME/lib/classes.zip
fi
 
ME=`basename $0`
USAGE="Usage: $ME <application_name>"
 
APPLICATION=$1
 
exec $JRE -DXpInsMgr.standalone=true -DORBagentAddr=$1 -DORACLE_HOME=/apps/express/oes634  $JREOPTIONS_STRING -$CLASSPATH_QUAL $CLASSPATHADD oracle.olap.express.XpInsMgr.XpInsMgr oracle.olap.express.XpInsMgr.XpInsMgr
__________________
c@simir
vbcasimir est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/03/2006, 09h44   #4
Membre habitué
 
Avatar de vbcasimir
 
Inscription : mars 2003
Messages : 444
Détails du profil
Informations forums :
Inscription : mars 2003
Messages : 444
Points : 114
Points : 114
problème résolu !!!!


il manquait le repertoire JRE
__________________
c@simir
vbcasimir est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 13/03/2006, 09h44   #5
Membre habitué
 
Michaël Hooreman
Inscription : octobre 2005
Messages : 111
Détails du profil
Informations personnelles :
Nom : Michaël Hooreman
Âge : 31
Localisation : Belgique

Informations forums :
Inscription : octobre 2005
Messages : 111
Points : 134
Points : 134
D'accord, mais ton path est différent au sein du script:

Code :
PATH=/bin:/home/express/jre/1.1.8/bin:$PATH
Adapte cette ligne dans le script.
mhooreman est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 21h57.


 
 
 
 
Partenaires

Hébergement Web