- To: mathgroup at smc.vnet.net
- Subject: [mg80528] Re: JLink
- From: dh <dh at metrohm.ch>
- Date: Fri, 24 Aug 2007 02:03:03 -0400 (EDT)
- References: <firstname.lastname@example.org> <email@example.com>
I am using Mathematica to automate testing of programms written in C and Java.
This programms have been prototyped and tested in Mathematica and translated to
the other languges. As a test I run the original program and the
translation using JLink and compare the results.
David Bailey wrote:
> dh wrote:
>> 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.
> 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
Prev by Date:
Re: Intensive numerical calculations
Next by Date:
Re: Similar matrices->similar eigenvectors?
Previous by thread:
Next by thread: