Dear Sankar, thank you for your problem report. I will add -source 1.6 -target 1.6 to Windows build files of the next release of GLPK for Java.
In the Linux make file this is already done. Best regards Heinrich Schuchardt On 21.05.2013 12:26, Sankar S1 wrote:
Hi Team, am trying to use glpk-4.49 im my Win32 machine. Am getting below error. Please advice me is this issue because of JDK version, if yes what version have to use Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\714705>D: D:\>cd D:\Sankar-776548\Java D:\Sankar-776548\Java>set CLASSPATH=D:\Sankar-776548\winglpk-4.49\glpk-4.49\w32\ glpk-java.jar D:\Sankar-776548\Java>C:\j2sdk1.4.2_05\bin\javac Test.java Test.java:1: cannot access org.gnu.glpk.GLPK bad class file: D:\Sankar-776548\winglpk-4.49\glpk-4.49\w32\glpk-java.jar(org/gn u/glpk/GLPK.class) class file has wrong version 51.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpa th. import org.gnu.glpk.GLPK; ^ 1 error Thanks& Regards Sankar
_______________________________________________ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org/mailman/listinfo/help-glpk