Experimental Physics and Industrial Control System
|
This looks very much like the xal.jar (and hence MessageCenter.class)
was built with JDK1.5, whereas you are compiling and building with
JDK1.4. I've used classes across the transition from JDK1.3 to JDK1.4
before without a problem, but it looks like there are more
incompatibilities between 1.4 and 1.5. It's nice that the compiler flags
it, but the error message is a bit obtuse.
SNS builds XAL with JDK1.5 now, so you either have to move up to 1.5, or
request a jar file built under 1.4. I'm not sure if they have coded in
1.5 specific features, so that may or may not be possible.
- Claude
Christophe Moins wrote:
Hello,
I am trying to install archive viewer but I have the following message
when I launch the ant command in Archiveviewer's top directory :
***********************************************************************************************************
Buildfile: build.xml
-create_build_dir:
build_all:
[javac] Compiling 842 source files to /root/archiveviewer/build
[javac]
/root/archiveviewer/src/epics/archiveviewer/base/AVBase.java:25:
cannot access gov.sns.tools.messaging.MessageCenter
[javac] bad class file:
/root/archiveviewer/ext_jars/xal.jar(gov/sns/tools/messaging/MessageCenter.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 gov.sns.tools.messaging.MessageCenter;
[javac] ^
[javac] 1 error
BUILD FAILED
/root/archiveviewer/build.xml:21: Compile failed; see the compiler
error output for details.
Total time: 18 seconds
***********************************************************************************************************
Does anybody what's going on ?
Thanks
Christophe
- References:
- archive viewer installation problem Christophe Moins
- Navigate by Date:
- Prev:
Re: SNCSEQ... Andrew Johnson
- Next:
Keithley 237 Luchini, Kristi
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
archive viewer installation problem Christophe Moins
- Next:
RE: archive viewer installation problem Chevtsov, Sergei
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|