[Mapserver-users] jBox - recompile
Wim Blanken PI
wim.blanken at planet.nl
Sun Jan 25 04:20:02 PST 2004
This is a multi-part message in MIME format.
--Boundary_(ID_k1Y38DrX9s9jr6mm0F0S2w)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
Hello Steve,
Make sure that you use the
-classpath
Directive to let javac know where the libraries are.......
For example if you have the jdk installed in c:\sdk1.4\jdk\bin
and youve copied the contents of jbox.zip to c:\sdk1.4\jdk\bin\jbox
Use then the following command in c:\sdk1.4\jdk\bin\jbox
javac -classpath c:\sdk1.4\jdk\bin\jbox -target 1.1 c:\sdk1.4\jdk\bin\jbox\jBox.java
If you install the new jBox applet make sure that Internet Explorer's cache is emptied and
internet explorer is restarted as otherwise the former one will be used.
Sincerely,
Wim Blanken
Geon bv
The Netherlands
----- Original Message -----
From: Steve McCrone
To: mapserver-users at lists.gis.umn.edu
Cc: rich at greenwoodmap.com
Sent: Sunday, January 25, 2004 12:50 PM
Subject: [Mapserver-users] jBox - recompile
According to Wim Blanken, the jBox available for donwload from the mapserver site must be re-compiled in order to run on Win2K.
Therefore, I wish to re-compile the source code for the jBox, but there are a bunch of source files missing -
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import netscape.javascript.*;
I'm a novice with java so I'm looking for some help in order to re-compile the jBox code.
The jBox I'm working with gives an error when I try boxoff().
Thanks
--Boundary_(ID_k1Y38DrX9s9jr6mm0F0S2w)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Steve,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Make sure that you use the </FONT></DIV>
<DIV><FONT face=Arial size=2>-classpath</FONT></DIV>
<DIV><FONT face=Arial size=2>Directive to let javac know where the libraries
are.......</FONT></DIV>
<DIV><FONT face=Arial size=2>For example if you have the jdk installed in
c:\sdk1.4\jdk\bin</FONT></DIV>
<DIV><FONT face=Arial size=2>and youve copied the contents of jbox.zip
to c:\sdk1.4\jdk\bin\jbox</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Use then the following command in
c:\sdk1.4\jdk\bin\jbox</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>javac -classpath c:\sdk1.4\jdk\bin\jbox -target 1.1
c:\sdk1.4\jdk\bin\jbox\jBox.java</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If you install the new jBox applet make sure that
Internet Explorer's cache is emptied and</FONT></DIV>
<DIV><FONT face=Arial size=2>internet explorer is restarted </FONT><FONT
face=Arial size=2>as otherwise the former one will be used.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Wim Blanken</FONT></DIV>
<DIV><FONT face=Arial size=2>Geon bv</FONT></DIV>
<DIV><FONT face=Arial size=2>The Netherlands</FONT></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ms57 at streamyx.com href="mailto:ms57 at streamyx.com">Steve McCrone</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=mapserver-users at lists.gis.umn.edu
href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=rich at greenwoodmap.com
href="mailto:rich at greenwoodmap.com">rich at greenwoodmap.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, January 25, 2004 12:50
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] jBox -
recompile</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>According to Wim Blanken, the jBox available for
donwload from the mapserver site must be re-compiled in order to run on
Win2K.</FONT></DIV>
<DIV><FONT face=Arial size=2>Therefore, I wish to re-compile the source code
for the jBox, but there are a bunch of source files missing - </FONT></DIV>
<DIV><FONT face=Arial size=2>import java.applet.Applet;<BR>import
java.awt.*;<BR>import java.awt.event.*;<BR>import java.net.*;<BR>import
java.util.*;<BR>import netscape.javascript.*;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I'm a novice with java so I'm looking for some
help in order to re-compile the jBox code.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The jBox I'm working with gives an error when I
try boxoff().</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks<BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>
--Boundary_(ID_k1Y38DrX9s9jr6mm0F0S2w)--
More information about the MapServer-users
mailing list