Yes, Ptolemy II 2.0-beta supports Java 1.4.

What platform are you running, and what is the precise version of Java
you are running?

To view the version of java, start up vergil and do
File -> New -> Graph Editor
and then
View -> JVM Properties

The java.vm.version should be something like:
java.vm.version = 1.4.0-b92

Under Windows 2000, I have not noticed a delay when dropping actors in
1.4.0-b92 or 1.4.1-beta

I first tested this version:
$ java -version
java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)

and ran vergil and did some drag and drop, to get an idea about the
speed:

I then did reconfigured with 1.4.0-b92 by doing:

PATH=/cygdrive/c/j2skd1.4.0/bin:$PATH
java -version
cd $PTII
rm config.*
./configure
bin/vergil

This was with the following version of Java
$ java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)


Note that Java 1.4.0 has a bug where local applets that have spaces in
the path name will not work.  This bug is not present in Java 1.3.1_03
and 1.4.1-beta.  The problem is that
file:///C:/tmp/ptplot/ptolemy/plot/demo/Marks.htm
works fine

but
file:///C:/tmp/pt plot/ptolemy/plot/demo/Marks.htm
does not

One other issue is that Soot does not work under Java 1.4.0, so if you
want to use the SDF code generator, then you should use Java 1.3.1
The reason is that the virtual machine changed slightly between 1.3.1
and 1.4.0.

-Christopher

--------

    Hi everybody,
    
    I am seeing a noticeable delay while droping actors into 
    schematic pane window in Java 1.4. and this is not true for 
    Java 1.3. Is this due to changes of DnD in Java 1.4 ? 
    
    OR 
    
    Does Ptolemy-II support Java 1.4 ?
    
    Advance thanks for your valuable answer.
    
    -karthik

--------

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to