Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JUnit 4.0 on 10.4.5 Intel?



Robert La Ferla wrote:

>$ java -cp ~/Library/JUnit/junit-4.0.jar org.junit.runner.JUnitCore
>org.junit.tests.AllTests
>Exception in thread "main" java.lang.UnsupportedClassVersionError:
>org/junit/runner/JUnitCore (Unsupported major.minor version 49.0)

Unless you do something to your configuration to interpret the 'java'
command as the 1.5 version, you still get 1.4.2 as the default in
/usr/bin/java.  For example:
  which java
  java -version


On making J2SE 5.0 the default shell command:
..for developers who make & use backups:
  <http://lists.apple.com/archives/java-dev/2006/Mar/msg00265.html>

..for bash users:
  <http://lists.apple.com/archives/java-dev/2005/Aug/msg00506.html>
  <http://homepage.mac.com/shawnce/misc/java_functions_bashrc.txt>

..for *csh users:
  <http://lists.apple.com/archives/java-dev/2005/Aug/msg00516.html>

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.