Mi blog lah! Το ιστολόγιό μου

16Dec/080

Java plugin 64-bit, now available.

Sun Microsystems announced the 64-bit version of the JRE, which includes the Java Plugin.

This means that if you have a 64-bit version of a Linux distribution, you can now have Java applets running in your Firefox.

Download at https://jdk6.dev.java.net/6uNea.html

You can install in /usr/local/

Then, you need to make a symbolic link, (it’s OK if Firefox is still running)

ln -s /usr/local/jre1.6.0_12/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

Then, in Firefox, visit about:plugins and check if the new plugin is recognised. You should see the text below.

libnpjp2.so

Όνομα αρχείου: /usr/local/jre1.6.0_12/lib/amd64/libnpjp2.so
Τύπος MIME Περιγραφή Επιθέματα Ενεργές
application/x-java-vm Java Ναι
application/x-java-applet Java Ναι
application/x-java-applet;version=1.1 Java Ναι

Finally, test your browser with the demo applets at http://java.sun.com/applets/jdk/1.4/index.html

I do not know how well some complicated Java applications will behave. If you do not see the applet starting up (there is no loading indication), have a look at ~/.xsession-errors for any hints of a failed applet.

13Feb/080

Writing J2ME applications in Linux

Here is an interesting article on writing J2ME applications in Linux. ;-)

J2ME applications is software that runs on mobile phones that support Java applications. Most phones support such Java applications, and it’s good to get your phone to run at least your own Hello, World! program.