Le 22/03/12 15:48, bunk3m a écrit : Hi,
> > LO doesn't find any Java version except for one. I don't think it can anymore "automatically" (but I'm prepared to be proven wrong ;-)), at least not on Mac, the handling of the Java path was changed during 3.4.x or 3.5.x development, I seem to recall, because LO was having problems recognising the write system Java path. > > From LO Preferences:Java > I have: > > "Use Java Runtime environment" selected. > Java vendor: Apple Inc. > Version: 1.6.0_29 Yes, that is the latest default Java version on current OSX 10.6.8. > > But from the terminal I get: > ---quote--- > $ java -version > java version "1.6.0_31" > Java(TM) SE Runtime Environment (build 1.6.0_31-b04-411-10M3616) > Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-411, mixed mode) > ---end quote--- > Mine says : java -version java version "1.6.0_29" Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527) Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode) > I want to run a more recent version and have more recent versions of > Java installed. > > But I can't add the versions of Java RE installed in > Library/Java/JavaVirtualMachines > > I have OpenJava 1.7.0u.jre installed in Library/Java/JavaVirtualMachines > > Questions: > Why doesn't LO use the 1.6.0_31 version installed? > > Why can't I select to run 1.7.0u.jre from Library/Java/JavaVirtualMachines? > Like I said, I think it has to do with the path changes introduced for Java recognition during 3.4/3.5 development (I don't exactly remember when this happened). The only thing I can think of is if you change your environment variables in your session bash profile or the corresponding session plist. You might then be able to force LO to take the Java version of your choice. Alex -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
