Re: Shark 1.1-2 compilation problem

David Simón <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
After "make clean" all has worked fine. I thought that removing the
output folder (because firstly I compiled it with jdk 1.5) would be
enough but it was necessary to perform "make clean".

Thank you Monique, maybe I test Shark 1.1-2 if I have time and it is
stable enough :-)

David


> Hi Simon,
> 
> I think that the class version is in the build.properties file (which is set by configure script). Did you execute configure(.bat) before to build the project?
> 
> Additionally, execute
> make clean
> just in case. Then try to build again.
> 
> David Simón wrote:
> > Thank you.
> > 
> > I have downloaded this version and I have tried to compile it, but using 
> > jdk 1.4.2_07 it gives me the next error:
> > 
> >   [javac] 
> > /apps/shark-1.1/modules/SharkUtilities/DODS/src/org/enhydra/shark/utilities/dods/DODSUtilities.java:20: 
> > cannot access org.enhydra.shark.api.RootException
> >     [javac] bad class file: 
> > /apps/shark-1.1/output/Shark/lib/sharkcommonapi.jar(org/enhydra/shark/api/RootException.class)
> >     [javac] class file has wrong version 49.0, should be 48.0
> >     [javac] Please remove or make sure it appears in the correct 
> > subdirectory of the classpath.
> >     [javac] import org.enhydra.shark.api.RootException;
> >     [javac]                              ^
> >     [javac] 1 error
> > 
> > It seems it is related to the jdk version, but according to the 
> > documentation a jdk 1.4.x should work. Anyone can help me?
> > 
> > Kind regards,
> > 
> > David.
> > 
> > El mar, 26-07-2005 a las 11:45 +0300, Monique Maker escribió:
> > 
> >
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.