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

Reply via email to