Karen,

I did think of a problem I noted the other day on Linux when I was
building JavaDX. There is one small little thing that can stop this (I
don't notice it much because it only effects systems that stop the first
time and then I fix it.) One of the problems is that some of the path
stuff set up in the autoconf setup is set so that it looks in your java
path in a directory named "include/genunix" (this is done because this is
the way the IBM java is setup. With the Sun java, this directory is
actually "include/linux" so I just set up a softlink of linux to genunix
and then never have to worry about it again. 

>From your explanation of problems I would say that this is just minor but
may have been an initial problem that others may have in the future.

David

On Tue, 12 Jun 2001, Karen Haines wrote:

> 
> > The dx pieces are split between dx and dxsamples packages which
> > complicates matters.
> 
> I agree - can anything be done to fix the docuemtnation on this this
> little ditty?
> 
> > 
> > It is possible that the java portions did not build in the dx tree. You need
> > javac in your path. What did configure report?  Check config.status for JINC
> > set to something valid on your system. 
> 
> All the paths are set correctly and JINC was set to the correct
> directories. I did have to manually compile the java portion of the
> compile because there were errors using the makefile. 
> 
> > dxsamples needs to be configured, built, and installed (configure &&
> > make && make install ) AFTER the dx configure, build, and install, as
> > it uses a number of results from those steps.
> 
> I have a directory $DXROOT/samples/java from the samples distribution,
> which compiled fine.
>  
> > Re the pictures, on the Status.html page.  I assume you refer to the
> > orbit-mode gif sequences that are supposed to be displayed by the 
> > imageWindow
> > applet in response to mouse gestures.  If you can view the gif series 
> > directly
> > (type in the url ...Topo3.0.x.gif) then my best guess is that the 
> > imageWindow
> > applet didn't compile (or compile correctly)
> 
> I was able to view the gifs directly - so permissions are not a problem
> (I'm using file:). So I looked at the actual dx.jar file I had and was
> that there was empty.  So I recompiled the code and created a dx.jar file
> that did contain the required classes. I am running the Image applet, but
> still can't see the images.
> 
> > For the greyed-out UI functions, save the program (net) first, then
> > the java options should be activated.  Yes, greyed out functions with
> > no clue as to how to activate them, the bane of gui users.
> 
> This worked - now I get the remaining options.
> 
> > Maybe you have java turned off (for earlier Netscapes this was a
> > common precaution).  Of course if you're getting status, then you've
> > got java.  Do you get a server status (up since, number of users ...
> > not just the applet text but response from the server) from the web
> > page?  This is good.  Most times, the problem is getting that far.
> 
> Java in netscape is turned on. I have a non-dx-applet test case to make
> sure java applets are working in netscape, and they are. I have the status
> but just the applet text (Users, Visits, Since = no response).
> 
> > OK, now it looks as if the dx.jar wasn't built .  See if dx.jar made
> > it into /usr/local/dx/java/htmlpages.  If so, it is paths or
> > permissions, if not I'd check configure (i.e. javac in your path and
> > javac --verbose giving useable output )
> 
> You were correct in that my dx.jar was not compiled correctly. I fixed
> this. Now the ImageWindow class is working - but I still can't see any
> images. This appears to be applet specific. For example in the Topo.html
> file I can view the elevation gifs at the top of the page, but can't see
> the applet images.
> 
> Update:
> 
> I'm still determined to get JavaDX up and going. I do get Status.html 
> with the ImageWindow applet running (just a black box where the images are
> suppose to be). The new dx jar files that are in CLASSPATH are dx.jar,
> server.jar, and samples.jar. Permissions are not a problem becuase I can
> load the gifs directly into netscape. Java is turned on in netscape (and
> applets work). The html-applet code references dx.jar as the archive file.
> Is this correct? Any hints on why the status is not working proerly would
> be of great help.
> 
> Cheers,
> Karen
> 
> 

Reply via email to