Note that if you require to run this on an earlier version of the JVM you can recompile it with javac using the -source 1.4 (or whatever version you want) option.
see https://blogs.oracle.com/darcy/entry/bootclasspath_older_source for full details. -- Nigel Galloway [email protected] On Tue, May 21, 2013, at 04:50 AM, Nigel Galloway wrote: > Class version 51.0 implies that the glpk-java.jar you have has been > compiled with JDK 1.7. > > -- > Nigel Galloway > [email protected] > > On Tue, May 21, 2013, at 04:35 AM, Andrew Makhorin wrote: > > -------- Forwarded Message -------- > > From: Sankar S1 <[email protected]> > > To: [email protected], [email protected] > > Subject: Jdk Version required for glpk-4.49 > > Date: Tue, 21 May 2013 15:56:22 +0530 > > > > 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 > > Sr.Business Analyst > > Tata Consultancy Services > > Cell:- 9620745999 > > Mailto: [email protected] > > Website: http://www.tcs.com > > ____________________________________________ > > Experience certainty. IT Services > > Business Solutions > > Consulting > > ____________________________________________ > > > > > > > > =====-----=====-----===== > > Notice: The information contained in this e-mail > > message and/or attachments to it may contain > > confidential or privileged information. If you are > > not the intended recipient, any dissemination, use, > > review, distribution, printing or copying of the > > information contained in this e-mail message > > and/or attachments to it are strictly prohibited. If > > you have received this communication in error, > > please notify us by reply e-mail or telephone and > > immediately and permanently delete the message > > and any attachments. Thank you > > > > > > > > > > _______________________________________________ > > Help-glpk mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/help-glpk > > -- > http://www.fastmail.fm - One of many happy users: > http://www.fastmail.fm/help/overview_quotes.html > > > _______________________________________________ > Help-glpk mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-glpk -- http://www.fastmail.fm - Access your email from home and the web _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
