Do you know if this is something that I can do with the -target argument for javac? I tried it but it says that 1.4 conflicts with the default version 1.5.
Or , do I just download an earlier SDK? Which is easiest... And thanks a bunch for helping. -Ben ...................... Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -----Original Message----- From: Gaulin, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 10:47 AM To: CF-Talk Subject: RE: Compiling Java / Error CF doesn't run on "the latest SDK" (1.5). You'll need to compile with JDK 1.4. Mark -----Original Message----- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 10:41 AM To: CF-Talk Subject: Compiling Java / Error Hey all, I am trying to experiment with Java and am off to a rocky start. I downloaded the latest SDK from Sun and was able compile a simple HelloWorld class: public class HelloWorld { public HelloWorld(){ // Constructor code. } public java.lang.String SayHello(){ return( "Hello You Beautiful World, You!" ); } } Compiles fine. But then, I went to try it in a URL class loader in ColdFusion and I get this error: HelloWorld (Unsupported major.minor version 49.0) null >From my Googleing it looks like the SDK java version is different than the java persion on our local J2EE server (i am compilling on my local harddrive). Any suggestions? It seems like such a simple class. Thanks, Ben ........................ Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

