Thursday May 21, 2009
Monday Jan 05, 2009
By Petr Dvorak on Jan 05, 2009
An issue that bothered many users of 64bit Linux is hopefully a history since JavaSE 6u12, which is now available in development version (therefore it is not a stable build and it is not recommended for "production use"). I have managed to install a Java plugin for Firefox on my 64bit Ubuntu - installation was pretty flawless...
Confirmed here: https://jdk6.dev.java.net/6uNea.html
So, what do you need to do in order to have a working Java in your Firefox on 64bit Linux?
- Update: Use Firefox from your distro repository.
all your previous attempts to make Java work - if you don't perform
this step, the result is uncertain... This includes especially
- Make sure you have 64bit version of Firefox (previous workaround was to use 32bit version of browser). Note that there is also a 64bit Flash plugin for Linux available, so 32bit version of browser should not be needed anymore...
- Remove IcedTea/gcj/... plugin if you were using it
- Download JRE 6u12 (an early access) from pages with JavaSE 6u12 dowloads (you can use this link pointing to the b03) and install Java to any desired folder (I would suggest /usr/lib/jvm folder for Ubuntu users, this is where Ubuntu places Java by default)...
- Create a link (ln) pointing to the Java plugin (file <JRE_FOLDER>/lib/amd64/libnpjp2.so) in the ~/.mozilla/plugins folder (to let Firefox know where the new plugin is...) - maybe you will have to create this folder (I had to)
- Make sure the installation didn't interfere with the rest of your Java environment and that you are using stable Java system wide (call java -version). If not, reconfigure your Java environment, for example using update-java-alternatives command (thank's to Petr Chytil for the hint)
Hope this works for you, now you should be able to check some sweet JavaFX demos out...
If you experience any troubles, please share them in discussion below...
Update: Users of RHEL, please read the discussion for troubleshooting...
- Marry Christmas, to everyone who cares
- A quick JFileChooser demo
- How Glassfish powers Eqyptian seafood restaurants
- Use the new Netbeans.org site the right way - from the IDE
- Another step further - Kenai services on NetBeans projects
- Issue recognition in the chat window - Freshly baked!
- Stack-trace recognition in the Kenai chat
- How to get the userdir of your NetBeans RCP application?
- Student projects wanted!
- NetBeans IDE is scanning/parsing/indexing for ages? Yeah, it's a bug!