Re: Java, Graphics Output, MathCanvas
- To: mathgroup at smc.vnet.net
- Subject: [mg29416] Re: Java, Graphics Output, MathCanvas
- From: "Torsten Hartwig" <torstenhartwig at web.de>
- Date: Mon, 18 Jun 2001 03:39:14 -0400 (EDT)
- References: <9gh5jv$9cj$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello again, the problem is solved. i thougt it is enough to save the jlink - directory somewhere on the harddisc and create a link to its class-library. But now i exactly followed the jlink installation guide and it works. I have installed the Jlink-directory in Addons/Applications ! When I start my program the second process called "mathematica" is shown in the taskbar. sorry for my naivety :-) thank you very much, torsten ! "Todd Gayley" <tgayley at wolfram.com> schrieb im Newsbeitrag news:9gh5jv$9cj$1 at smc.vnet.net... > On Sat, 16 Jun 2001 06:54:37 +0000 (UTC), "Torsten Hartwig" <torstenhartwig at web.de> wrote: > > >Hi again, > > > >yes, the GraphicsApp example lauch normally, the MathKernel starts normally, > >but when i push the evaluate-button the MathCanvas stays cleared. I tried > >something like D[3x^4,x] and marks TYPESET or Plot[x,{0,1,x}] and marks > >GRAPHICS. But I gave my GraphicsApp example as a VisualCafe-Projekt to > >friend an he tried out the programm...and it works. > > > >I really dont know what you mean with : > >"Does the Mathematica front end launch along with the kernel when you start > >GraphicsApp (it should)?" > > > >I will search the manual for the front end and study it. I think if the > >GraphicsApp example will work, my own Projekt will work,too. > > > >thanks a lot, torsten > > > > Torsten, > > What I mean by "does the front end launch" is the following. When Java > launches the Mathematica kernel, you will see it appear in the Windows > taskbar. Programs like GraphicsApp that use the services of the > Mathematica notebook front end need to launch the front end as well as > the kernel. You should see another process called "Mathematica 4.1" (or > something like that) show up in the taskbar. Thus my question is > whether you see just one program (Mathematica kernel) appear in the > taskbar, or two. > > My guess is that you don't see the front end launch, and I think I know > why. J/Link must be properly installed for GraphicsApp to work. > Specifically, the JLink.m file needs to be read into the kernel by the > internals of J/Link, so it must be somewhere the kernel can find it. > Make sure you have followed the J/Link installation instructions. There > should be a JLink directory containing the file JLink.m (and several > other subdirectories) in your <Mathematica dir>/AddOns/Applications > directory. > > > --Todd Gayley > Wolfram Research >