MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: JLink

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80509] Re: JLink
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Thu, 23 Aug 2007 06:28:19 -0400 (EDT)
  • References: <faj473$8h6$1@smc.vnet.net>

dh wrote:
> Hello,
> 
> Mathematica 6 comes with an outdated Java. Therefore, it may be 
> 
> necessary to use a newer version. A clumsy solution is to change the 
> 
> Java in the installation. However, there was a better method that worked 
> 
> before v6:
> 
> InstallJava takes an option "CommandLine" that specifies a command line 
> 
> to start Java. In version 6 this does no more work correctly. If I say:
> 
> InstallJava[CommandLine->"name of new  java"]
> 
> the old Java of mathematica is loaded, despite the option. However, if I 
> 
> prevent mathematica to find the java executable by renaming the 
> 
> corresponding folder, the correct java is now loaded.
> 
> Daniel
> 
> 
> 
I suspect this is related to the fact that Java is now loaded at kernel 
startup - presumably to run the packlet code.

Just out of interest, what new features of Java 6 do you want to access 
via J/Link?

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: ListSurfacePlot3D in Mathematica Version 6
  • Next by Date: recording singularities of NDSolve
  • Previous by thread: Re: JLink
  • Next by thread: Re: JLink