In the code snippet it appears that you are setting the path, but are you exporting it? Also, make sure that the path you typed in is correct. If it "looks" correct, but isn't and the 1.2.2 path is still there and correct, then it will execute 1.2.2.
Try: which java and which javac also echo $PATH to see what it contains... Mark �yvind Vestavik wrote: > Thank you Mark. > > using java -version tells my I'm on version 1.2.2 > There is an entry for that in the PATH-variable in the global .profile file. > > JAVA_HOME is pointing to version1.3 though. > > I have tried to add this to my local .bash_profile: > > #only executed if on a spesific machine > if [ -e "/usr/flocal/etc/fenris_profile" ]; then > #importing global environement > source /usr/flocal/etc/fenris_profile > > #setting/overwriting variables for session > export JAVA_HOME=/usr/flocal/opt/jdk1.3 > export XINDICE_HOME=/usr/flocal/opt/xindice > PATH=/user/flocal/opt/jdk1.3:/usr/flocal/opt/xindice/bin:$PATH > #the original path contains a reference to jdk version 1.2.2 > fi > > The PATH now contains a reference to version 1.2.2 and 1.3 of jdk, v1.3 > comes before version 1.2.2, but still version 1.2.2 is running. > > Any Ideas??? > > �yvind > > On Tue, 12 Mar 2002, Mark J. Stang wrote: > > > I ran into this once. My problem was that I had the wrong version of java > > in > > the path. > > > > Try: > > java -version > > > > I think xindice needs at least 1.3 to run. I had 1.2 and it wouldn't run. > > Acutally, I had 1.2 and 1.3 installed and thought I was running 1.3 and > > it turned out that I was running 1.2... Also, check out the JAVA_HOME > > environment variable. > > > > Mark > > > > �yvind Vestavik wrote: > > > > > I have a orb initializing error on startup. > > > The error is given below > > > > > > Is there any way to fix this without modifying the source code?? > > > I don't really need corba at all, but if I can get it working, than thats > > > fine too.. > > > > > > Is there a way to remove other services like gopher from port 40 and so > > > on?? > > > > > > Thanks in advance > > > > > > Error message: > > > > > > ... > > > ... > > > > > > Starting dbXML > > > -------------- > > > > > > dbXML 1.0b4 (Mustard) > > > > > > Database: 'db' initializing > > > Script: 'GET' added to script storage > > > Service: 'db' started > > > Service: 'GopherServer' started @ gopher://fenris.idi.ntnu.no:40 > > > Service: 'HTTPServer' started @ http://fenris.idi.ntnu.no:4080/ > > > DEBUG> APIService: org.omg.CORBA.INITIALIZE: Unable to complete > > > on is not openorb singleton. > > > Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass" > > > ORBA.ORBSingleton"); > > > As the first statement in your application. minor code: 0 comp > > > DEBUG> > > > org.omg.CORBA.INITIALIZE: Unable to complete init orb singleton > > > ingleton. > > > Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass" > > > ORBA.ORBSingleton"); > > > As the first statement in your application. minor code: 0 comp > > > at org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLo > > > led Code) > > > at org.openorb.CORBA.ORB.set_parameters(ORB.java, Compil > > > at org.omg.CORBA.ORB.init(ORB.java, Compiled Code) > > > at org.dbxml.core.server.services.APIService.start(APISe > > > iled Code) > > > at org.dbxml.server.standard.StdServiceManager.startServ > > > anager.java, Compiled Code) > > > at org.dbxml.server.Kernel.startServices(Kernel.java, Co > > > at org.dbxml.server.Kernel.<init>(Kernel.java, Compiled > > > at org.dbxml.core.server.dbXML.main(dbXML.java, Compiled > > > DEBUG> Most likely your CORBA naming service couldn't be reached > > > Service: 'APIService' started > > > > > > Server Running > > > > > > �yvind Vestavik > > > �vre M�llenberggt 44b > > > 7014 Trondheim > > > [EMAIL PROTECTED] > > > 41422911 > >
