Hi Luke,
Thanks a lot it works now..
Houda
On Fri, 24 Jan 2003, Luke A. Catania (TEC) wrote:
> Houda ,
>
> Oops. My Mistake. I am working with two different libraries on my project
> and just noted I sent you info for VisAD and not OpenMap. I suppose you
> must be using VisAD too since you did not catch my error. The library
> should be named OpenMap and not VisAd and the jar file should be openmap.jar
> and not visad.jar.
>
> Though I assume you did the substitution since you are trying to get OpenMap
> to work and not visad.
>
> I just created a new project and added the openmap.jar file and then set the
> application to run using the Project Properties menus Run/Application Tab.
> I set the main class to com.bbn.openmap.app.OpenMap and it ran. Though I
> had to modify the openmap.properties file in my user directory to have it
> find the shapeFile and spatialIndex file for the political boundaries. It
> also works if you can simply copy the data directory to your project
> directory for this project. I tried making the data a jar file and using it
> as a library, but JBuilder gave me an error that there was No new Source,
> Documentation or class paths were found. There should be some mechanism to
> do this.
>
> Also if you are just trying to run the OpenMap application and modify it
> using the openmap.properties file, have tried using the openmap.bat file in
> the bin directory. If you did this and received the error Exception in
> thread "main" java.lang.NoClassDefFoundError: com/bbn/openmap/app/OpenMap,
> it is because you need to make sure that the line:
>
> set OPENMAP_HOME=..
>
> is set properly.
>
> The line:
>
> set
> CLASSPATH=%OPENMAP_HOME%\classes\openmap;%OPENMAP_HOME%\share;%OPENMAP_HOME%
> \lib\openmap.jar;
>
> should already be fine.
>
> If you run openmap.bat from the bin directory. And the lines in your bat
> file are like above, you should be set.
>
> Luke
>
> -----Original Message-----
> From: CHAKIRI HOUDA [mailto:002AB171162@stud.alakhawayn.ma]
> Sent: Friday, January 24, 2003 2:05 PM
> To: Luke A. Catania (TEC)
> Cc: OpenMap Users List (E-mail)
> Subject: RE: [OpenMap Users] Re:
>
> Hi Luke,
> thanks for ansewering me it seems that the problem is not solved yet i
> already included the library before sending the email and i followed the
> process as you send it to me once again but i still have the same error.
> what i want is to run the openmap application could you please help me do
> it being it with Jbuilber or Simply using JDK 1.* from DOS prompt..
> thanks a lot
> Houda
>
> On Fri, 24 Jan 2003, Luke A. Catania (TEC) wrote:
>
> > Houda ,
> >
> > I am only using JBuilder 4, but I assume things are the same as far as
> > adding class paths. You just go into the Project menu, and then click on
> > Project Properties...
> > When the Properties window appears click on the Paths Tab and then click
> on
> > the Required Libraries Tab, the Add button, then New... button. In the
> next
> > window, type in a Name for the library. I use VisAD. Select a Location.
> I
> > use User Home. Then click on the Add button. Find the visad.jar file
> and
> > click on it and then click OK. Then back out of all the menus by hitting
> > the OK buttons on each menu.
> >
> > That should do it. If you want the library to be present in all new
> > projects you create then you want to select the Default Project
> > Properties... instead of just Project Properties... from the Project menu.
> >
> > Luke
> >
> >
> > -----Original Message-----
> > From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On
> > Behalf Of Don Dietrick
> > Sent: Friday, January 24, 2003 9:46 AM
> > To: CHAKIRI HOUDA
> > Cc: OpenMap Users List (E-mail)
> > Subject: Re: [OpenMap Users] Re:
> >
> > Sounds like a classpath error, that the openmap.jar isn't getting added
> > to the classpath.
> >
> > I don't use JBuilder, so I'll have to defer further debugging comments
> > to someone else on the list.
> >
> > - DOn
> >
> >
> > On Friday, January 24, 2003, at 09:25 AM, CHAKIRI HOUDA wrote:
> >
> > > Hi,
> > >
> > > here is the error whole error message:
> > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > com/bbn/openmap/app/OpenMap
> > >
> > >
> > > thanks
> > > houda
> > >
> > > On Fri, 24 Jan 2003, Don Dietrick wrote:
> > >
> > >> Hi Houda,
> > >>
> > >> What class isn't being found?
> > >>
> > >> - Don
> > >>
> > >> On Friday, January 24, 2003, at 07:32 AM, CHAKIRI HOUDA wrote:
> > >>
> > >>> Hello,
> > >>> i am new in using openmap and i have a problem in running the
> > >>> com.bbn.openmap.app.i get a message NoClassDefFoundError.. i ll
> > >>> apreciate
> > >>> your help.. i am using Jbuilder8 (jdk1.4) with openmap 4.5.4..
> > >>> thanks a lot
> > >>> Houda
> > >>>
> > >>> --
> > >>> [To unsubscribe to this list send an email to "majdart@bbn.com"
> > >>> with the following text in the BODY of the message "unsubscribe
> > >>> openmap-users"]
> > >>>
> > >>>
> > >>
> > >>
> > >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > >> Don Dietrick, BBN Technologies, dietrick@bbn.com
> > >> 10 Moulton Street, Cambridge, MA 02138
> > >> 617-873-3031 [fax]-2794
> > >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > >>
> > >>
> > >
> > > --
> > > [To unsubscribe to this list send an email to "majdart@bbn.com"
> > > with the following text in the BODY of the message "unsubscribe
> > > openmap-users"]
> > >
> > >
> >
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Don Dietrick, BBN Technologies, dietrick@bbn.com
> > 10 Moulton Street, Cambridge, MA 02138
> > 617-873-3031 [fax]-2794
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> > --
> > [To unsubscribe to this list send an email to "majdart@bbn.com"
> > with the following text in the BODY of the message "unsubscribe
> > openmap-users"]
> >
> >
>
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Jan 24 16:11:03 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT