Jan wrote:
>>>I get an application Jmol.jar 10pre11e  2004/07/12 15:37 (which works)
>>>but no applet.
>>It works for me with 1.4.2
>>
>>We should pursue this and try to determine whether or not it is a problem
>>with the 1.5 beta test.
>>
>>Please try the following:
>> cvs up -dP
>> ant clean main
>>
> I had done this twice (with the same result), but it is a problem with
> java.version:1.5.0-beta2, I tried this with 1.4.1_06 and there was no
> error, the Jmol Version 10pre11e  2004/07/12 15:37 applet gets generated.

I have been able to track this down and it is now FIXED. Code is now
checked in as 10pre11f.

The problem is with the default language switch for the 1.5.0 compiler.
The *default* value is 1.5, in order to take advantage of newer language
features. But one cannot generate 1.1 object code from 1.5 source.
Therefore, in order to generate 1.1 object code (for the MSFT JVM) one
needs to explicitly set the source code version to 1.3. I added commands
to the build.xml file in order to do this.

A bit more detail ...

Java 1.5 has several new language features that require a 1.5 java virtual
machine. One cannot take advantage of these features and still generate
object code for an older virtual machine.

Java 1.4 has a similar issue with assertions. One cannot turn on
assertions and generate object code for the 1.1 JVM. However, the
difference is that with the 1.4 JVM the default language source version
was 1.3. In order to enable assertions one had to explicitly say 'source
1.4'. That is why we didn't have problems with the 1.4 compiler.


Miguel



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to