Java Player (1.4)
(Redirected from Java Player)
|This article or section documents a feature not included in the current version of Scratch (2.0). It is only useful from a historical perspective.|
- Main article: Why don't my projects work correctly online?
The Java Player on the Scratch Website has always had glitches and bugs. Because Java and Scratch (programmed in Squeak) are completely separate programming languages, it can not process exactly what Scratch wants it to all the time. This means that a lot of projects, especially more advanced ones, are very glitchy online, which means lots of users encourage people to download the project before using it, in the project notes. Some users also made projects dysfunctional online using a method of detecting which player was being used which was based on the way the Java player interpreted blocks that threw errors.
Java also does not have the same mathematical capabilities, so when numbers get too high, or have too many decimal places, Java changes them into scientific notation. There are also rounding errors in that case. For example, the number 1000000000 shows as 1e9.
The Java Player has been updated many times since June 2007 (when Scratch was released), although only minor changes like a change in variable's and list's font, and a system where the player loads sounds before they are played, making the project more synchronized. The current version of the player is Version 39.
On Saturday, May 9, 2013, the Java Player was discontinued on the Scratch website due to the shift to Flash. It only exists for projects embedded in Java on other websites.
- Main article: Embedding Projects
It is possible to embed a Scratch project played through the Java Player onto another website, by copying and pasting the code given to you underneath the tags of a project.