Current Position:Home > Cannot reach com.sun.javafx.runtime.sequence package from Java

Cannot reach com.sun.javafx.runtime.sequence package from Java

Update:11-30Source: network consolidation
Advertisement
Hello!
I'm trying to create JavaFX sequence from Java code, because creating sequences with large amount of data (more than 10000 elements) seems to be quite inefficient in JavaFX (leastwise takes almost a minute(!) when using insert ... into ...).
The problem is that I get the following error message when trying to use SequenceBuilder from Java:
{color:#ff0000}+Compiling 1 source file to C:\Users\Ákos\Documents\NetBeansProjects2\PolylineProba\build\classes+
C:\Users\Ákos\Documents\NetBeansProjects2\PolylineProba\src\polylineproba\ArrayBuilder.java:11: package com.sun.javafx.runtime.sequence does not exist
import com.sun.javafx.runtime.sequence.*;
+1 error+{color}
The sample code is very simple:
{color:#333399}+package test;+
import com.sun.javafx.runtime.sequence.*;
+public class ArrayBuilder {+
+}+{color}
This is strange as the code completion sees all classes inside the mentioned package, but the compiler doesn't.
Does anyone have an idea, why? (I'm using Netbeans 6.1 with JavaFX SDK preview 1.0.)
Thanks,
Akos

The Best Answer

Advertisement
Hello!
Normally you don't need to know the exact location of these files as you can add them to the project by adding a library. To do this in Netbeans: right click on the Libraries in the project tree and choose Add library. Then you should see JavaFXUserLib.
If not then find and add them manually to the classpath:
javafx-sdk1.0pre1/lib/Decora-D3D.jar
javafx-sdk1.0pre1/lib/Decora-HW.jar
javafx-sdk1.0pre1/lib/Decora-OGL.jar
javafx-sdk1.0pre1/lib/Scenario.jar
javafx-sdk1.0pre1/lib/gluegen-rt.jar
javafx-sdk1.0pre1/lib/javafx-swing.jar
javafx-sdk1.0pre1/lib/javafxc.jar
javafx-sdk1.0pre1/lib/javafxdoc.jar
javafx-sdk1.0pre1/lib/javafxgui.jar
javafx-sdk1.0pre1/lib/javafxrt.jar
javafx-sdk1.0pre1/lib/jmc.jar
javafx-sdk1.0pre1/lib/jogl.jar
Good luck
  • Cannot reach com.sun.javafx.runtime.sequence package from Java Update:11-30

    Hello! I'm trying to create JavaFX sequence from Java code, because creating sequences with large amount of data (more than 10000 elements) seems to be quite inefficient in JavaFX (leastwise takes almost a minute(!) when using insert ... into ...). T

  • ClassNotFoundException: com.sun.javafx.runtime.location.ChangeListener Update:11-30

    Hi guys, I'm sorry for my question, I need your help. I started working with javafx and now I added to my project JFXTras to add power to my javafx components. I created a javafx project with netbeans, I added JFXTras lib and I put a button in the st

  • Import com.sun.javafx.mediabox.*; package does not exist Update:11-30

    hi, i am using netbeans 6.7.1 with javafx inside i saw alot of example from sun using import com.sun.javafx.mediabox.;* and import com.sun.fxmediacomponent.*; however in netbeans when i try to import either this 2 import it say that package does not

  • Who needs the JavaFX runtime redistributable? Please "Stand up and shout!" Update:11-30

    With the 1.2 release JavaFX gains more momentum and more attractivity. Also for the "classic" desktop application sector. It has the ability to give Java apps all the eye candy and smoothness in operation that many end-users pretend/believe &quo

  • Sun One cannot find package ? Update:11-30

    hi to all, i am trying to run my web application from sun one studio 5 SE, to utilise the debugging functionality that i cant get working in intellij or jbuilder :( (intellij wont iinstall on 2003 server and jbuilder crashes when in debug mode ) anyw

  • [Windows] Captive runtime bundle package certificate signing don't work when icons included Update:10-11

    Here is the bugbase ticked: Bug#3949990 - [Windows] Captive runtime bundle package certificate signing don't work when icons included Application signing don't work when you build captive runtime bundle package which include icons. Don't matter appli

  • [Solved] Update of one of the packages requires java-runtime-openjdk Update:11-30

    Hi. I wanted to perform a system update today but what I encountered is that one of the packages wants specifically a java-runtime-openjdk instead of java-runtime. I wonder what package and why. I don't want to install openjdk since I use an Oracle J

  • Runtime Sequence of triggers Update:11-30

    Is there any way to identify the runtime sequence of the execution of triggers in the form ? Also is there a place where the default (template) sequence of execution for forms triggers can be found ?There is no single place where you can read about a

  • Error: JavaFX runtime components are missing, and are required to run this Update:11-30

    I tried to build the application using javafx ant build, generated jar file. But when I run the jar file, issue: Error: JavaFX runtime components are missing, and are required to run this application. The javafx-class-path: libs/h2.jar libs/jfxrt.jar

  • Where is the JavaFX runtime jar file in jdk7u4 Update:11-30

    So I find jdk 7u4 release notes: The JavaFX SDK is installed with Java SE 7 update 4 for both the Windows and Mac OS X platforms. The JavaFX Runtime is installed with the JRE for the Windows platform.But I can't find the javafx runtime jar file, jfrt