feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

JavaFX Kit Missing required modules

Labels: , ,

Missing required modules for Plugin JavaFX Kit: requires javafx.sdk

I've been trying to install NetBeans IDE 6.1 with JavaFX. According to Sun JavaFX Java Technology Web Page It provides all the tools you need to build a JavaFX application.
There are two ways to install it:

  1. The recommended one is to download a build of NetBeans IDE 6.1 with JavaFX support included.
  2. If you already have NetBeans 6.1 installed you can install the JavaFX plugin manually.
Sun recommend that you install the NetBeans IDE 6.1 with JavaFX support included. By doing so, you minimize the steps to get started with your JavaFX application development. I decided to follow the recommendation and to use the NetBeans IDE 6.1 with JavaFX support included. When I looked at the different versions in the NetBeans IDE 6.1 with JavaFX download Page, I noticed that there are versions only for windows and mac users. No version for Linux.

With no other choices I had to go with the manual way. I downloaded NetBeans 6.1 from the NetBeans IDE download page and I followed the Adding JavaFX Support to a Previously Installed IDE instructions. I followed the steps up to step 6. I typed javafx in the Search text field to help locate the JavaFX plugins. Two plugins showed up on the list: JavaFX Kit and JavaFX Weather Sample. I marked both of the JavaFX plugins and I pressed the install. To my surprise I got an error message:
Missing required modules for Plugin JavaFX Kit: requires javafx.sdk
Apparently there is an issue for this missing required modules for plugin JavaFX Kit problem. According to the issue, this was fixed and verified in the preview branch.

The only option I was left with was to download and install a developmental build of JavaFX script plugin for NetBeans IDE 6.1.
  1. I downloaded a binary build from the JavaFX Hudson site.
  2. I opened the compressed file to a temporary folder.
  3. On Netbeans I added the temporary folder as a plugin folder: Tools > Plugins > Downloaded > Add Plugins. I selected all the nbms files from the temporary folder /nbms/javafx/. Then I got a list of 20 plugins to install. I pressed the install button and I followed the instructions. The installer installed all the JavaFX plugins and restarted the NetBeans IDE.
This solved the problem. Now I was able to create a JFX Script Application Project using NeatBeans.

libstdc++2.10-glibc2.2 on Linux Ubuntu Hardy 8.04

Labels: , , , , ,

The libstdc++2.10-glibc2.2 package is not on the Ubuntu Hardy 8.04 Linux repositories so it can't be installed using apt-get or synaptic package manager.


$ sudo apt-get install libstdc++2.10-glibc2.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libstdc++2.10-glibc2.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package libstdc++2.10-glibc2.2 has no installation candidate

In order to install libstdc++2.10-glibc2.2 on Ubuntu hardy 8.04 Linux, you need to download libstdc++2.10-glibc2.2_2.95.4-24_i386.deb and install it using dpkg:

wget mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
sudo dpkg --install libstdc++2.10-glibc2.2_2.95.4-24_i386.deb

libstdc++2.10-glibc2.2 contains libstdc++-libc6.2-2.so.3 which is required by Eclipse tptp agent controller, Eclipse based Java profiler.
The upgrade from Ubuntu Gutsy 7.10 Linux to Ubuntu Hardy 8.04 Linux removes the package. Because of this the Eclipse tptp Agent Controller fails to start.

$ ./ACStart.sh
Starting Agent Controller.
ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
ACServer failed to start.