On Fri, 10 Sep 2004, Mark Taylor wrote:
> On Thu, 9 Sep 2004, Malcolm J. Currie wrote:
>
> > A followup to Q246 (user has a problem with Splat on Mac but not on
> > Windows), which looks like the CLASSPATH or some initialisation problem.
> > Any convrete suggestions are welcome. My brain is fried.
> >
> > Thanks for the sppedy response, Although I didn't have any problems with
> > the splat tool for WINDOWS, the SoG tool gives me the error,
> >
> > Could not find the main class. Program will exit.
> >
> > Again, any help is appreciated
> >
> > Malcolm
>
> Malcolm I thought Peter would have piped up, but since not here's
> my 2p's worth in case you're still waiting.
>
> It sounds very much like as you say it's somehow got the wrong class path.
> If it's being invoked using java -jar (or equivalent) then the
> class named in the Main-Class: entry of the jar archive
> META-INF/MANIFEST.MF file (should be uk.ac.starlink.sog.SOG)
> isn't in the jar archive - seems unlikely.
> If its not using -jar then the class named on the java command line
> is not present in the classpath. Without knowing exactly how he's
> invoked it it's hard to say more - either ask him or Steve may be
> able to advise on how the Windows invocation gets done - I don't have
> a Windows machine I can play with to investigate.
Hi Mark,
sorry for the apparent quiet, some of yesterday's Quick messages came and
went privately (in fact I don't remember seeing that any went to stardev).
The problems this OS X user was having were that the JNIAST/JNIHDS
shareable libraries are not installed by default by the Starjava installer
(someone with an OS X box should have spotted this), plus he hadn't
installed JAI (this causes the SoG missing main report, I've seen that one
before).
Cheers,
Peter.
|