Eric, that error typically means you're using a class file compiled in a version of Java later than the one you're using. I know you tried changing JAVA_HOME, but did you also make sure you were executing java and javac out of JAVA_HOME? You may have to change your PATH.
- Ben On 2/11/11, James, Eric <eric.ja...@yale.edu> wrote: > I'm trying to compile a java program using the fedora client, and am getting > the following error: > > [ameelbatch@ameeldev Fedora341]$ javac -classpath > fedora-client-0.1.3.jar:hadoop-0.12.3-core.jar > batchModDatastreamByVFed34.java > > batchModDatastreamByVFed34.java:18: cannot access > com.yourmediashelf.fedora.client.FedoraClient > bad class file: > fedora-client-0.1.3.jar(com/yourmediashelf/fedora/client/FedoraClient.class) > class file has wrong version 50.0, should be 49.0 > Please remove or make sure it appears in the correct subdirectory of the > classpath. > import com.yourmediashelf.fedora.client.FedoraClient; > ^ > 1 error > I've tried compiling with both versions (0.1.1 and 0.1.3) and with JAVA_HOME > as both jdk1.6.0_21 and jdk1.5.0_05, but get the same error. I am using > fedora 3.4.1. > > Anyone know a fix for this? Does this require I build the fedora-client from > source? > > Thanks, > Eric > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users