How to add jfxrt jar locally?

Hi,
I'm using JavaFX 2.0 and Eclipse. I wrote a Java program which uses JavaFX but to use JavaFX I've added an external jar (jfxrt.jar) to the classpath, from the C:\Program Files\Oracle\JavaFX 2.0 Runtime\lib folder.
But the app I wrote is for college coursework and I want to submit it today, and the people who mark it need to be able to compile the app. Since they probably don't have jfxrt.jar in the same location, how can I make it local so that they can compile it?
I tried copying jfxrt.jar to the project directory and adding it as a local jar but this didn't work - I got a fatal error: EXCEPTION_ACCESS_VIOLATION
Thanks for any advice!

Well, if they want to compile it they need to add it to their classpath. It's basically just the same process as with specifing the JDK you want to compile sources with.
Their JDK is probably also another version and in another location than yours, but you would never give them yours or add your JDK as local dependency to your project, so that they can compile it.
The same goes for jfxrt.jar.
Just tell them, they have to compile it with JDK 7 and they need jfxrt.jar in their classpath which can be found in the JDK folder.

Similar Messages

  • How to add SDK jar file in NWDS

    Dear Friends,
    Currently i have an issue. I have to bring the BO favorite to my Portal Screen. My Portal is developed in PDK.
    I have few links where the source code is writhen. Those link's are
    /people/michael.nicholls/blog/2010/02/22/using-the-pdk-to-access-businessobjects-infoview
    http://wiki.sdn.sap.com/wiki/display/Snippets/ReadInfoViewfavoritesfromthe+portal
    I don't know more about BO. I have few points which i mentioned below.
    1) How to add SDK jar file in NWDS.
    2)DO i need any specific package for that.
    Kindly help me with your Valuble suggestion and document.
    Thanx in Advance.
    Prashant Krishen

    Hi,
    for adding all the jar files in NWDS fallow below steps
    windows >> preferences >>Java>>Java buildpath>>Libraries>>add external jars
    Hope this helps
    Edited by: polaka123 on Nov 13, 2010 12:44 PM

  • How to add a jar files to a project in JDeveloper 10g?

    I had created a sample appln using below imports
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    The above packages are available in frmall.jar only know?
    I tried to add the above jar in JDeveloper IDE (10.1.2.1.0).
    But i can't fild a exact menu in my iDE?
    How to add the above jar through menu?
    Thanks

    1. Select Tools>Project Properties.
    2. In Project properties window select Libraries.
    3. Add a project JAR with Add Jar/Zip button.

  • How to add external jars in the configuration of JSmooth?

    Hello,
    I am trying to create an exe file from a java program using JSmooth.
    The program is a simple hello world proogram.
    I am developing under eclipse, and I am using some external jar files as libraries.
    If my program is simple,; it works fine. If I add an import of a class that is in one of these jar files, I get the following error when executing the created .exe file:
    "Could not find the main class. Program will exit".
    I guess I have to add this Jar file to the path for the creation of the .exe file.
    My question is: does anybody know HOW to add an external jar in the configuration of JSmooth for the creation of an exe file from a Java program?
    Thanks for your help
    Philippe

    i have the same problem phsans
    you know the answers??
    thanks phsans:D

  • Applet not finding oracle.jdeveloper.layout.XYLayout. How to add to jar?

    hey guys, i have created an applet and it is unable to find oracle.jdeveloper.layout.XYLayout. How might I add this to my jar to be able to deploy it?

    not.
    Figure out what jar it's in, and add that jar to the classpath for the applet (and thus to the webserver in a location where the applet can load it from).
    See the documentation to figure out how to set an applet classpath.

  • How to add a jar file to a project

    I believe I have followed the necessary steps to add a jar file to my project. I have added this jar file as a new library and I see all the classes in it. I have even added it to my SessionBean1.java via the Add ---> Property menu. I noticed that this did not do the import of the class, so I did it myself. I also noticed that it did the drop downs and found the class for me automatically. Specifically, the IDE knows about the class layout and can see my class package as I type it out.
    So far so good....
    I then go to compile the project and I get the error:
    C:\Projects\safe\Safe\src\safe\SessionBean1.java:11: package com.dusa.bo does not exist
    import com.dusa.bo.BackofficePerson;
    Am I missing something? I looked around and it looks to me like the jar file is in the project and it should know about it. Again, I do know that the editor can find it, because as I type import ..... it then list "com" as an option to click on, then if I click on com, it will then list dusa ... and so on.
    Thanks

    I figured this out. Sorry for the post.

  • How to add "Computer Description" locally to 300 Servers in our domain via PowerShell.

    I'd like to use Powershell to add "Computer Description" locally to 300 Servers in domain.
    I found a solution here which works but it adds "Computer Description" only to a single computer.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/a777f07c-f9be-4eb5-8788-de7e5c068411/changing-computer-descriptions-remotely-using-powershell?forum=winserverpowershell
    I do have a CSV file with two column headers "Server" and "Description" containing Computer Description for all 300 Servers. 
    I'm new to Powershell and would appreciate a step by step method.
    Thanks.
    st

    Hi Mike Laughlin,
    Your Script worked beautifully on most Servers.
    There were some Servers on which it did not work. It showed this error in red color:
    Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT:
    0x800706BA)
    At line:2 char:17
    +     $OSValues = Get-WmiObject -Class Win32_OperatingSystem -ComputerName
    $_.Serv ...
    +
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept
       ion
        + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands
       .GetWmiObjectCommand
    Property 'Description' cannot be found on this object; make sure it exists and
    is settable.
    At line:3 char:5
    +     $OSValues.Description = $_.Description
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : PropertyNotFound
    You cannot call a method on a null-valued expression.
    At line:4 char:5
    +     $OSValues.Put()
    +     ~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull
    Hi tommymaynard,
    Should I now try your Script ?

  • How to add a jar file into resource catalog in webcenter spaces

    Hi All,
    i am new to webcenter spaces. my requirement is like, i have created one adf taskflow and deployed it as a shared library.now i want to register this jar file as a resource catalog into webcenter spaces (i.e. already deployed). How to achieve this task.
    Thanks,
    Monika

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • Help Nedded on how to add JavaMail.jar and JAF.jar to my classpath

    Hello.. please i want to add these two packages JavaMail.jar, and JAF.jar to my classpath.
    Can anyone show me how to do this?, if possible some example.
    Thanks.

    Hi!
    Just copy them into the %JAVA_HOME%/jre/lib/ext folder.
    Or...
    Add them to your classpath as:
    java -cp <path to your jar files>/mail.jar;<path to your jar files>/jaf.jar;. YourApp
    Hope this helps.

  • How to add a Jar file to J2EE Server Component Library ?

    Hello,
    My objective:
    =====================================================
    To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
    Library project.
    I have created a J2EE Server Component Library project. 
    I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
    Here is my problem:
    =====================================================
    I can't open the provider.xml with SAP's special editor for the provider.xml.
    The special SAP editor doesn't exist for me.
    Here is my question:
    =====================================================
    Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
          J2EE Server Component Library SDA structure.)
    Q2) If you were to update the provider.xml with notepad, what would you
    type in provider.xml for JAR_X?
    Q3) Is there anything else that I need to do?
    Thanks,
    Steve
    J2EE Server Component Library SDA structure.
    ======================================
    |-META-INF_
    |         |-manifest.mf
    |         |-sap_manifest.mf
    |         |-SearchRules.xml
    |         |-<SDA>.xml
    |         |...
    |-<jar_0>
    |- ...
    |-<jar_N>
    |-dispatcher_
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files(2)>
    |           |-descriptors_
    |                        |-<descriptor_files(3)>
    |-server_____
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files>
    |           |-descriptors_
    |                        |-<descriptor_files>
    |-os_libs____
                |-<char set>__
                             |-<platform>__
                                          |-<jvm bitlength>__
                                                            |-<native lib files>

    Thank you for all your solution...
    my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
    Thanks again,
    Steve
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
         <display-name>
          Your_Lib_Name
        </display-name>
         <component-name>
          Your_Lib_Name
        </component-name>
         <major-version>6</major-version>
         <minor-version>40</minor-version>
         <micro-version>0</micro-version>
         <provider-name>
          sap.com
        </provider-name>
         <references>
              <reference
                   provider-name="sap.com"
                   strength="weak"
                   type="library">Your_Lib_Name</reference>
         </references>
         <jars>
              <jar-name>my_jar.jar</jar-name>
         </jars>
    </provider-descriptor>

  • How to add a jar file in the visual Age classpath

    I have to import a jar file in visual Age workspace, and don't know hox to do
    I tried several things, but didn't succeded at this point.
    I need to succed until tomorrow for completing my work.
    Please help, thanks.

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • How to add a new Local Variable for DataBase Logging?

    Hello
    I need to add a Local sequence variable to my STEP_RESULT table, i know i need to modify the schema by adding a new column but not sure on what to write in "Expression" to access the value of local variable. 
    Please reply asap, as its a little urgent.
    Regards
    Nitin Goel

    Hi
    you can read this here:
    http://digital.ni.com/public.nsf/allkb/F5ADBC61222343B586256CE00055E6D6?OpenDocument
    Regards
    DianaS

  • Asdoc how to add a custom local namespace with manifest file?

    Hi there,
    I use the flex 4 beta1 sdk to test the following:
    I have:
    MainScreen.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:views="com.xyz.core.view.components.*"
        >
        <views:AbcView id="abcView" right="20" />
    </s:Group>
    I tried to use a manifest file which seems to be how to handle this kind of situation (using ant):
        <arg line="-namespace views ${manifest.file}"/>
        <arg line="-doc-namespaces views"/>
    the manifest.xml contain the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <componentPackage>
               <component id="AbcView" class="com.xyz.core.view.components.AbcView" />
    </componentPackage>
    when I compile asdoc return the following error:
    ...MainScreen.mxml(52):  Error: Type was not found or was not a compile-time constant: AbcView
    Any idea how I can force asdoc to add/recognize AbcView.mxml ? Is my use of manifest file correct in this situation?
    Thank you in advance for your help.
    Best regards.
    maddec

    Hello,
    >Do you have the source path defined?
    yes definitely.
    >and does it contains the folder that is parent of com.xyz.core.view.components ?
    yes absolutely
    >Can you post your complete call to asdoc?
    Please find below the ant task I use:
    Thank you very much for your help.
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="asdoc" default="main" basedir=".">
    <!--
        Properties Definitions
    -->
        <!-- The Location of Flex on your Computer -->
        <property name="Flex.dir" location="C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in"/>
        <!-- The Location of FlexSDK on your Computer -->
        <property name="FlexSDK.dir" location="${Flex.dir}\sdks\4.0.0.7219"/>
        <!-- <property name="FlexSDK.latest.build.dir" location="${Flex.dir}\sdks\4.0.0.12412"/> -->
        <!-- The Location of ASDocs on your Computer -->
        <property name="asDocs.exe" location="${FlexSDK.dir}\bin\asdoc.exe"/>
        <!-- main path info -->   
        <!--
            The Location of your Application Classes on your Computer
            NOTE: This Path should be relative to the build.xml file.
            NOTE: ${basedir} is an ant property that represents the directory holding the build.xml file
            NOTE: I have encountered issues with this folder containing Spaces
        -->
        <property name="AppClasses.dir" value='-doc-sources "${basedir}/src"'/>
        <property name="asdoc.source.paths" value='-source-path "${basedir}/src/"' />
        <!-- configs -->
        <property name="asdoc.config" value='-load-config="${FlexSDK.dir}/frameworks/flex-config.xml"' />
        <property name="sp.config" value='-load-config+="${basedir}/conditionalCompil.xml"' />
        <!-- additional path info -->   
        <property name="source.path.srcShared" value='-source-path+="D:/analogdesign/Clients/Minsh/flash/GIT-sources/minsh-flex-widget/s rcShared"' />
        <property name="libs.path" value='-external-library-path="${basedir}/libs"' />
        <!-- custom components -->
        <property name="manifest.file" location="${basedir}\ant\customCpnsManifest.xml" />
        <!-- branding data -->
        <property name="window.title" value='-window-title="Minsh API Documentation"' />
        <property name="main.title" value='-main-title="Minsh API Documentation"' />
        <!--
            The Location you wish to output to on your Computer
            NOTE: I have encountered issues with this folder containing Spaces
            NOTE: This location gets DELETED and re-generated each time the build is run
        -->
        <property name="output.dir" location="${basedir}\output\AppDocs"/>
        <property name="asdoc.output" value='-output="${output.dir}"' />
    <!--
        Execute the ASDoc Compile
    -->
    <target name="main" depends="clean,compile" description="full build of asdocs"/>
    <!--
        DELETE the existing output folder and files and then re-generate the output folder
    -->
    <target name="clean">
        <delete dir="${output.dir}" failOnError="false" includeEmptyDirs="true"/>
        <mkdir dir="${output.dir}"/>
    </target>
    <!--
        Run the ASDoc executable and generate the ASDocs to the new output folder
    -->
    <target name="compile">
        <exec executable="${asDocs.exe}" failonerror="true">
            <arg line="${asdoc.config}"/>
            <arg line="${sp.config}"/>
            <arg line="${asdoc.source.paths}"/>
            <arg line="${AppClasses.dir}"/>
            <arg line="${libs.path}"/>
            <arg line="${source.path.srcShared}"/>
            <arg line="-namespace views ${manifest.file}"/>
            <arg line="-doc-namespaces views"/>
            <arg line="${window.title}"/>
            <arg line="${main.title}"/>
            <arg line="${asdoc.output}"/>
        </exec>
    </target>
    </project>
    Best regards.
    maddec

  • How to add external jars when deploying webapp via worksop for wls 9.2

    While attempting to deploy my web application using Workshop for WLS 9.2, WLS complains it is unavailable to resolve references to a 3rd party JAR(tomhawk.jar) which is being referenced by the JSPs. I have added the JAR via the J2EE module dependancy tab in workshop but that does not seem to be helping the deployment.
    If i build the web application outside workshop and include the tomhawk.jar in the WEB-INF/lib folder of the deployed WAR file, the app works fine.
    I have attempted to copy the tomhawk.jar into the <domain>/lib folder and restart the weblogic server. But this does not seem to help resolve the references.
    Any clues on how i could achieve iterative deployments via workshop for WLS 9.2 pickup references to external JARs being referenced by the JSPs.
    Thanks
    Ramdas

    Raj,
    Thanks for your suggestion. The link that you sent out was useful. I was actually able to get the webapp to resolve its references to the 3rd party classes by adding the tomhawk.jar as an external jar via the "build path" property for the web project. I tested this by running the app in the WLS instance hosted by workshop and looks like the JAR from the build path gets somehow referenced during run time too. Not sure how this works?
    Thanks
    Ramdas

  • How to add third-party jar in CRM ISA application?

    Hello SDN!
    I need to add third-party jar in CRM ISA application. I know how to add such jars in common case and for local DCs. But for CRM I can't determine which DC should contain this third-party jar.
    Please tell me ASAP which DC (e.g. crm/isa/home/ext) I should use.
    Help will be appreciated.
    Regards, Lev.

    Hi,
    To add third party jar you need to create new DC which contain your third party Jar. Once you have new DC with your Jar file you can add as Used DC in required DC.
    Please refer [Using External Libraries for Development with NWDI|http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/3ce3e4df201d63e10000000a11466f/content.htm] for more infromation to create DC with Jar File.
    eCommerce Developer.

Maybe you are looking for

  • Multiple Assessments within one project

    Hi, Currently working on a project where I'd like to have 3 assessments built in to the same project. The criteria I'd like to set is: On the first assessment, they need to pass to progress On the second they need to pass to progress On the third the

  • ITunes 10.4 keeps crashing in snow leopard - have error log

    Hello, The title says it all.. I went to open itunes and immediately after a few seconds a spinning beach ball comes up and it crashes. This has been very sporadic. My mac is a 6-core 2010 Msc Pro. Below is the error log: Process:         iTunes [286

  • Alphanumeric Vendor Id

    Dear SRMers, System Info ECC 6.0 and SRM 5.0 I am replicating vendors from ECC to SRM. One of the vendor ID in the ECC is alphanumeric (EX: Vendor ID =  Argentina5). For this vendor I am getting a warning when executing  BBPGETVD . The warning messag

  • Flash player download

    I've been trying to download flash player version 10.1.  The download says installation complete, but it is not on  my pc.  I inactivated my virus protection & all pop up blockers, but it still won't work.

  • Scout and flash pro cc, Enable sampler option missing

    I am trying out flash pro cc and scout for mobile Instructions found here http://helpx.adobe.com/flash/using/flash-pro-scout.html 1) Enable Detailed Telemetry from flash cc publish settings (i did this) 2) On the AIR for iOS Settings dialog, switch t