FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   Exporter: warn on VM incompatibility
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Exporter: warn on VM incompatibility  (Read 693 times)
MrFeinberg

WWW Email
Exporter: warn on VM incompatibility
« on: Mar 21st, 2004, 12:06pm »

The documentation warns:
 
- if you're exporting as applet, variables that are 'final int' need
  to be 'static final int'. otherwise they'll have trouble with a java
  1.1-only machine: (i.e. running microsoft's java on windows). you
  should also avoid using "final" variables *inside* of methods, since
  those aren't supported by microsoft's vm (and that's the one most
  widely installed).
 
The exporter could flag this as violation, or at least warn.
 
fry


WWW
Re: Exporter: warn on VM incompatibility
« Reply #1 on: Mar 21st, 2004, 11:07pm »

true.. with the "big" release" (rev 70 or so) there will be an (advanced) option for what vm you're compiling to, so then we can enforce what the code is (hopefully setting the -source 1.1 option on the compiler will do it). right now it's ambigious since there's no simple way to do it right (some people want the 1.3/1.4 code..)
 
Pages: 1 

« Previous topic | Next topic »