You are running in a jdk 1.4 and the source file is in 1.5. If you are using windows, it is not uncommon to have issues with regards to java_home. Even without java_home set there can be regestry entries for java that give weird behaviour. Your safest bet is to call the 1.5 bin with javac and then the java command on that bin using : c:>c:\jdk15_home/bin/javac << rest of path >> c:>c:\jdk15_home/bin/java << rest of path >>
Hope this helps, Rhys -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Manolo R.G. Sent: October 19, 2006 7:10 AM To: [email protected] Subject: Re: [Red5] diplom work -> version If you have several java JDK's/JRE's installed you could be running java 1.5 but compiling with JDK 1.4 Try javac -version (not java -version) Jacques Putz escribió: > > >> I get a strange error about versions : > > >> > > >> D:\Red5\webapps\jacques>javac -classpath D:\Red5\lib\red5.jar > > >> jacques.java > > >> > > >> jacques.java:4: cannot access > > >> org.red5.server.adapter.ApplicationAdapter > > >> > > >> bad class file: > > >> D:\Red5\lib\red5.jar(org/red5/server/adapter/ApplicationAdapter. class) > > >> > > >> class file has wrong version 49.0, should be 48.0 > > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
