Netbeans 6.7.1 & JavaFX Can't Find java.util.* at Runtime

h1. Problem
Netbeans 6.7.1 & JavaFX Can't Find the JRE classes (i.e. java.util.*) when the project is run (in Netbeans 6.7.1).
h1. Reproduce
Right Click Project_, then Run Project_
init:
deps-jar:
C:\MyJavaFXProject\Source\Java\com\acme\Blah.java:4: cannot find symbol
symbol : class ArrayDeque
location: package java.util
import java.util.ArrayDeque;h1. Workaround
Add all the jar's found in JAVA_HOME. This is VERY BAD - because netbeans projects are no longer portable!
h1. Does anyone else have this problem?
Can you post a link if this problem is already on the forum or is in an Issue/Bug trackers somewhere please.
Thanks for Reading.

Thanks for the reply, evidently you are onto something!
My NetBeans 6.7.1 JavaFX project is using the "JavaFX SDK on Java 1.6 (Default)" Platform.When I take a look inside this (using Manage Platforms) I can see that the following is in the list of platform classes:
C:\Program Files\NetBeans 6.7.1\javafx2\javafx-sdk\lib\desktop\rt15.jarI'm assuming that rt15.jar is the java runtime @ version 1.5, and indeed this does NOT contain the Java 6 ArrayDeque ('_Array Deck_') class.
ahhughes@machine-114 /cygdrive/c/Program Files/NetBeans 6.7.1/javafx2/javafx-sdk/lib/desktop
$ jar -tvf rt15.jar | grep "ArrayDeque"
ahhughes@machine-114 /cygdrive/c/Program Files/NetBeans 6.7.1/javafx2/javafx-sdk/lib/desktop
$So my question is, why? If this is the "_NetBeans JavaFX SDK on Java 1.6 (Default)_", then why is it using the 1.5 runtime? It's obviously using 1.6 at compile time... this just seems busted to me.

Similar Messages

  • Where can I find Java SE 6 runtime ?

    After software update, I'm now running OS X Yosemite 10.10.1
    I launched Photoshop CS3 and it told me I need to install the legacy Java SE6 runtime and I can't find a link that works.
    Do I go to Adobe ?
    The More info button takes me to a link on the Apple site that does not work.
    Any info would be useful as I am really stupid due to Multiple Sclerosis and I have problems understanding things.
    Many thanks

    Java for OS X 2014-001

  • JRE 1.6 missing/can't find java/util package

    I installed Sun's JRE1.6 to mitigate the DST issue a couple
    of months ago. In the past few days, my clients report when, trying
    access web-services the Java Compiler throws an exception dealing
    with the inability to access the java/util package.
    One solution (in Japanese) purported to say that if one adds
    the switch:
    -Djmx.invoke.getters=true
    This can help mitigate the issue (after a restart). I did for
    a couple of hours but the services began failing again.
    ### Exception Code ###
    coldfusion.jsp.CompilationFailedException: Errors reported by
    Java compiler: Found 2 system errors: *** Error: Could not find
    package "java/util" in:
    /opt/coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/sunjce_provider.jar
    [filepath]coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/sunpkcs11.jar
    [filepath]coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/dnsns.jar
    [filepath]coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/meta-index
    [filepath]/coldfusionmx7/runtime/jre/bin/jre1.6.0/lib/ext/localedata.jar
    /opt/coldfusionmx7/wwwroot/WEB-INF/classes
    [filepath]/coldfusionmx7/wwwroot/WEB-INF/lib/cfmx_bootstrap.jar
    /opt/coldfusionmx7/wwwroot/WEB-INF/lib/cfx.jar
    [filepath]/coldfusionmx7/wwwroot/WEB-INF/lib/commons-beanutils.jar
    [filepath]/coldfusionmx7/wwwroot/WEB-INF/lib/commons-collections.jar
    /opt/coldfusionmx7/wwwroot/WEB-INF/lib/js.jar
    [filepath]/coldfusionmx7/lib/updates/chf700003.jar
    /opt/coldfusionmx7/lib/ant-launcher.jar ....
    ### EOF ###
    SysInfo:
    Solaris 2.8
    CFMX Ent 7.0.0
    Java Version 1.6.0b.105

    Thx Ian - you're correct. I've incepted 1.4.12 and
    web-services are up and running *note to readers: watch your
    permissons on the new files - ensure CFSvr "user" has access to new
    files.
    This technote details how to upgrade the JVM:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=2d547983&sliceId=2
    Thank you both. DjlR

  • Where can I find Java for Mac OS X 10.6.8?

    Where can I find Java for Mac OS X 10.6.8?

    fixie84 wrote:
    I can't find it on my imac. I searched for it in the finder.
    It should be in /System/Library/Frameworks/
    10.6 update 3 deprecated that path, and since that Java update (if you've installed it) it would be
    /Library/Java/JavaVirtualMachines/
    and
    /System/Library/Java/JavaVirtualMachines/

  • How can i find java preferences on MAC 10.8.2

    I recently upgraded to the new Mountain Lion OS X 10.8.2 but I can't find Java preferences anymore. I need to go onto an online banking page but it needs me to adjust some settings through Java Preferences, kindly please inform where can I get to the Java Preferences page?

    The last Java update disabled Java plug-in and removed Java Preferences.app from your Utilities folder.
    You can re-enable Java by follwing this support article
    http://support.apple.com/kb/HT5559
    Or, you can update to Oracle's Java 7 here
    http://www.java.com/en/download/mac_download.jsp?locale=en

  • Where can I find Java 1.5 ?

    The tools are launched over the network via the WebStart application that is part of the Java 1.5 installation. You have to download Java 1.5 (JRE 5.0 or J2SEE 5.0)from the Sun Developer Network (WebStart is included).

    > Thanks a lot. But I can not find Java 1.5
    Ah. Sun's marketing gremlins strike again. Java 1.5 and Java SE 5 are the same product.
    ~

  • Where can I find java on my iPad?

    Where can I find java on iPad?

    Welcome to Apple Communities
    The iPad isn't compatible with Java and other propietary plugins like Flash

  • Where can I find Java for my iMac OS X 10.7.2? I would like to print coupons....

    Where can I find Java for my iMac OS X 10.7.2? I'd like to print coupons and the pop-up says that Apple has their own version of Java. I don't even know what it's called!

    download from here: http://mac.softpedia.com/get/System-Utilities/Java.shtml.  Only click this download button
    ignore all the other ones.

  • Java error message 'Can't find Java Home'

    While Installing an application, I can see the error popup window 'Can't find Java Home'. Why it occur the error message only most newer PC. Please advise me
    Thanks in Advance,
    Ponmuthu

    Well, hi again!
    My problem is not solved, when I tried to start Tomcat today it fails with the same message as earlier, namely
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>catalina start
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    Using CATALINA_BASE: C:\jakarta-tomcat-4.1.12-LE-jdk14
    Using CATALINA_HOME: C:\jakarta-tomcat-4.1.12-LE-jdk14
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.12-LE-jdk14\temp
    Using JAVA_HOME: C:\j2sdk1.4.1_01
    Det g�r inte att hitta filen -Djava.endorsed.dirs=. (Could find the file -DJAVA.endorsed.dirs=...............
    And JAVA_HOME, CATALINA_HOME, TOMCAT_HOME is:
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %JAVA_HOME%
    C:\j2sdk1.4.1_01
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %TOMCAT_HOME%
    C:\jakarta-tomcat-4.1.12_LE-jdk14
    C:\jakarta-tomcat-4.1.12-LE-jdk14\bin>echo %CATALINA_HOME%
    C:\jakarta-tomcat-4.1.12-LE-jdk14
    Any more suggestions of why it's not working?

  • Can't find Java Class of a standard UI Command

    Hello everybody,
    Where can i find Java classe source and Bundle file of a standard UI Command "AppDetails"
    for example ?
    Thanks & Regards,
    Hassan Mounim

    Hi Hassan,
    You can find the UIDetailsCommand class here:
    ..\WEB_INF\portal\portalapps\com.sap.km.cm.ui.flex\private\lib\km.appl.ui.flex.uicommand_core.jar
    And the bundle file UIConst here:
    ..\WEB_INF\portal\portalapps\com.sap.km.cm.ui.flex\lib\km.shared.ui.flex.uicommand_api.jar
    Hope this helps,
    Robert

  • Why can not find Java VM when Install JWSDP 1.6?

    I am using winXP.I have installed J2SE 5.0 by default.I want to install JWSDP 1.6 but when I runned JWSDP 1.6. install script, there is always a message error that it can not find Java VM.
    I have tried in command prompt
    jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer
    jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer\jdk
    jwsdp-1_6-windows-i586.exe -is:javahome c:\Sun\AppServer\jdk\bin
    but nothing worked. What sould I do?
    Thanks,

    I am using winXP.I have installed J2SE 5.0 by
    default.I want to install JWSDP 1.6 but when I runned
    JWSDP 1.6. install script, there is always a message
    error that it can not find Java VM.
    I have tried in command prompt
    jwsdp-1_6-windows-i586.exe -is:javahome
    c:\Sun\AppServer
    jwsdp-1_6-windows-i586.exe -is:javahome
    c:\Sun\AppServer\jdk
    jwsdp-1_6-windows-i586.exe -is:javahome
    c:\Sun\AppServer\jdk\bin
    but nothing worked. What sould I do?
    Thanks,I really don't quite follow what your problem is But:
    Are you sure it's { the script } is not looking for JAVA_HOME environmental Variable?
    You could try: Control Panel - System - Advanced - Environment Variables
    and see if it has an Entry for "JAVA_HOME"
    if it does ensure it is pointing to the correct directory:
    ie the one that has the directories bin, jre, lib
    in it. for me that is C:\Java\jdk1.5
    for you it's probaly C:\Java1-5-05 or whatever
    If it doesn't add a new entry for it.
    in my case:
    JAVA_HOME C:\Java\jdk1.5
    Normally I just double click on those .exe's and they install fine.........

  • How can I define "java.util.ResourceBundle" in my Code ?

    Dear Mr. MLRon,
    Thanks to you for your replying to me.
    How can I define "java.util.ResourceBundle" in my Code ? To more understanding about my problem I can say that the Persian Font is Like as Arabic, but the Java can not Recognize it. please tell me how can I add "java.util.ResourceBundle" to my code and what should I do then?
    Thank you in advance,
    Tantan.

    Please stop starting new threads for this. Please reply in the original thread!
    http://forum.java.sun.com/thread.jspa?threadID=627917

  • Where can I find Java Plugin that works with Firefox 31.1 on Mac OS 10.68

    I applied just release 'Java for mac OS X 10.6 Update 9'. I am running Firefox 13.1. I did not need a Java Plug-in before but Apple has changed that. Now I need to get a Java Plug-in for Firefox 13.1. I searched and looked at lots of URL, including official Java site and can not find a Java Plug-in for Firefox 13.1. Is there one and where is it?

    Hello,
    please update Java using the Software update feature of Mac OS X:
    Go to [Apple menu] > Software Update and check for available updates.
    --Tobbi

  • Where to find .jar files so I can implement import java.util.logging

    I'm trying to figure out how to take an application built for Websphere and port it to WebLogic. I've come across this blog entry http://blogs.sun.com/fkieviet/entry/using_java.util.logging_in_bea_weblogic and would like to try creating and using the startup class.
    I have not been able to find the correct jar files.
    import weblogic.common.T3ServicesDef;
    import weblogic.common.T3StartupDef;
    import weblogic.logging.LoggingHelper;
    In reading the documentation on using the NonCatalogLogger APIs at http://download.oracle.com/docs/cd/E12840_01/wls/docs103/i18n/writing.html I also see some code calling for the following imports
    import weblogic.jndi.Environment;
    import weblogic.logging.NonCatalogLogger;
    1. Does anyone know where I can grab these?
    2. There must be a strategy for finding these .jars that people use. If so, what is it?

    I thought I understood you, but the more I look at what you've set here, I'll just be honest and admit that the I don't know what you are saying here:
    'You should be able to add the "weblogic.jar" in the WebLogic distribution to your classpath.' - What doe this mean?
    1. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath / Libraries - Select Add external JARS and navigate to the weblogic.jar
    2. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath / Libraries - Select Add Library and try to go from there?
    3. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath / Libraries - Select Add Variable and try to go from there?
    4. Go to my xxxWeb app Dynamic Web Project and right-click and select Build Path / Configure Build Bath and do something else?
    5. Something else?
    Also, I don't know what you mean here:
    'You don't need to (and you shouldn't) copy that jar file, just have it in your compilation classpath. It will be present automatically at runtime.'
    Sorry for being so simple here but I've been trouble shooting why I can't follow what look like pretty simple steps to implement over-riding the ApplicationLifecycleListener Class to use existing java.util.logging.Logger code by adding the following to the the weblogic-application.xml:
    <wls:listener>
         <wls:listener-class>com.qualcomm.weblogic.log.listener.UtilLogWrapper</wls:listener-class>
    </wls:listener>
    And including as a referenced jar file, a simple POJO class instance of com.qualcomm.weblogic.log.listener.UtilLogWrapper.
    My resrouces for this are:
    1. http://blogs.sun.com/fkieviet/entry/using_java.util.logging_in_bea_weblogic.
    2. http://www.oracle.com/technology/pub/articles/drolet-ant.html.
    Maybe my weblogic.jar is at the root of the problem.
    I hope you can 'dumb this down' for me with a simple explanation of steps to do what you outlined above.

  • Where can i find Java Component SOLMAN40SR3

    Hello there,
    during the Installation Process of Solution Manager 4.0 SR3 i have to give the installer the location for:
    Java Component SOLMAN40SR3
    i thougt i downloaded all i need for the installation but i cannot find any Java Component SOLMAN40SR3 Media.
    Please can you assist and tell me where in the marketplace i can find the media i need here?
    Thanks and Regards
    Bjoern
    Edited by: bjoern bayerschmidt on May 4, 2008 12:26 AM

    Hi dear Sap Technicians,
    I can't find no entries there [https://websmp205.sap-ag.de/installations|https://websmp205.sap-ag.de/installations] for the JavaComp 51033521 DVD download:
    --> Entry by Application Group
    --> SAP Technology Components
    Here is the screenshot [Screenshot - Nothing there|http://www.fahrrad-Kleuskens.de/SolMan-Flase-JavaComp.JPG].
    I try to set up SolMan on a 64 bit Windows Server 2003 R2 SP2 with IM_WINDOWS_X86_64 with this LABEL.ASC = SAP:WEBAS:7.00:SAPINST:\*:WINDOWS_X86_64:\* .
    Perhaps now you only can download the JavaComp DVD via a working SolMan. But my SolMan is not yet installed because of the delivered JavaComp DVD - CDLABEL.ASC = SAP NETWEAVER 2004S SR2 Java based Software Components Number 51032257 - , which is not the right one and which should be 51033521 :
    51033521_1 SAP Solution M. 7.0 SR4 Java Comp. 1 of 4
    51033521_2 SAP Solution M. 7.0 SR4 Java Comp. 2 of 4
    51033521_3 SAP Solution M. 7.0 SR4 Java Comp. 3 of 4
    51033521_4 SAP Solution M. 7.0 SR4 Java Comp. 4 of 4
    Axel Arnold Bangert Herzogenrath 2009

Maybe you are looking for

  • Is there a way to rate videos on the iPod like you can in iTunes?

    Is there a way to rate videos on the iPod like you can in iTunes? In iTunes I can assign 0 to 5 stars to a video. Can this be done on the iPod? Thanks.

  • Itunes wont start on win7

    iPhone 4s phone, Windows 7 professional. Dell laptop, tried removing and reinstalling all Apple products including itunes, changed the language setting to English as previously outlined by another user, When I click on the icon or run via all program

  • Help on custom actionscript component

    Hi All, I need to create a dynamic form which has multiple pages each page will be displayed in separate tabs and has individual controls. On submit of a a button i need to trace the data entered in the controls for each Tab. The numer of Tabs and co

  • Hi, ios6 and iPhone 4s: after update ios, app unexpectedly quits (iStore et Twitter)?

    Any ideas? I've restarted...

  • About OLE2_OBJECT problem

    Hi everybody! I found a few OLE code. as follows   CREATE OBJECT EXCEL_OBJ 'Excel.Application'.   IF SY-SUBRC NE 0.     MESSAGE E796(F9) WITH 'Can not Create Excel Object!'.   ENDIF.   CALL METHOD OF EXCEL_OBJ 'Workbooks' = WORKBOOK_OBJ.   CALL METHO