Incorporating a Java library that depends on JOGL into JavaFX 1.3

I am developing a JavaFX application that has a Java library (specifically World Wind Java) that uses jogl.jar. In JavaFX releases before 1.3, there was no problem in using this Java library. However, in JavaFX 1.3 there are issues. I noticed that JavaFX 1.3 has split jogl.jar into jogl-common.jar and jogl-awt.jar. The Java library has been built and tested with the regular jogl.jar. I can successfully build the application by adding jogl.jar to the JavaFX 1.3 application. But, I can not run the application. I get this runtime error:
java.lang.NoSuchMethodError: com.sun.opengl.impl.Debug.isPropertyDefined(Ljava/lang/String;)Z
at javax.media.opengl.GLJPanel.<clinit>(GLJPanel.java:114)
How do you have jogl.jar and (jogl-awt.jar and jogl-common.jar) coexist in the same JavaFX 1.3 application?
Thanks,
Bobby

Upon further research, World Wind Java is using JOGL version 1.1 and JavaFX 1.3 uses JOGL version 2.0. In Netbeans 6.9 beta, a JavaFX project with the World Wind jar file and JOGL 1.1 jar file will build but will not run. Removing the reference to JOGL jars from the JavaFX SDK, specifically jogl-awt.jar and jogl-common.jar, will allow the application to run through netbeans. When running the javafx application through java web start, the jogl 1.1 jar does not conflict with JavaFX's jogl 2.0 jars (for some reason) and the application runs correctly. So problem solved.
Bobby

Similar Messages

  • Is there any Java library that can invoke access point functions?

    Hi, Is there a Java Library that enables programs to access access point and run their functions?
    I want to create sample code that invokes functions of access points such as signal strength e.t.c.
    My ambition is to create a model that can identify the position of wareless devices such as PDA in a wireless LAN

    Thanks for your reply, sorry I have not gotten back sooner. I'm still having the problem.
    All the access points have the same SSID. I did try deleting the network and rejoining, however, I don't think it properly "forgot" all the settings when I did that. I haven't yet taken the time to try to delete the network more thoroughly. I'm still turning off airport, carrying the laptop to within a few feet of the access point I want to join, and turning airport back on, on an almost daily basis.

  • How can I get my books that I download from the Library that are WMA files into my I tunes so I can listen to them

    How can I get my books that I download from the Library that are WMA files into my I tunes so I can listen to them. They have a ton of books but I can only listen to them from my windows media player and I wouldlove to download to my I pod but I have tried everything I can think of it they won't go over.  Someone said all I had to do was copy them over and they would convert but I can't even get them to copy.  Thanks.

    Well it started happening AGAIN with my 2nd IPod. No matter what I did, it Itunes would NOT restore it!
    I finally installed Itunes on my hubby's PC at work and managed to get it restored there.
    Apparently, there must be some sort of compatibility issue with the windows version of Itunes and some other piece of software on my pc.
    And one more important thing! I had to follow the instructions in the other thread that talks about how to correctly uninstall itunes and quicktime, in order to completely eliminate ALL traces of my "first" ipod's existence so it wouldn't demand that I restore it.
    I think the software got "confused" and thought when I connected my 2nd ipod, that it was the 1st and that it still needed to be restored.
    Basically, this is just POORLY written and POORLY tested software!

  • I have 1000  photos in an iPhoto Library that won't import into Photos because it says the metadata can't be read.  Yet those JPG files open just fine in iPhoto, GraphicConverter, et al.  What gives?

    I have 1000  photos in an iPhoto Library that won't import into Photos because it says the metadata can't be read.  Yet those JPG files open just fine in iPhoto, GraphicConverter, et al.  Any thoughts?

    It’s part of the basic install of OS X. So unless you deleted it then it’s there in your apps folder. If you have deleted it, it’s on the System Restore disks that came with your Mac. You will be able to extract the installation package using Pacifist.
    Alternatively, if you’re using almost any camera +apart from a Canon+ then the camera card is visible on the desktop and you can drag the movie to the desktop using the Finder and import from there.
    No matter what camera you use, if you pop the card from it into a USB Card Reader then it will be accessible via the Finder. Card Readers are inexpensive and all round a better idea.
    Why use a Card Reader?
    Because it’s safer: Less risk of your images being lost if your camera shuts down during transfer.
    Because it saves the battery on your camera
    Because it saves wear and tear on your camera ports
    Because it’s almost always faster.
    Regards
    TD

  • Can't load a library that depends on another

    I built a library and it loaded perfectly (just for testing).
    Now, my library is supposed use ALSA's API.
    Now, I get to compile my library, just like before, but now I can't load the library. I get a UnsatisfiedLinkError. The message is a little cryptic: Can't load IA 32-bit .so on a IA 32-bit platform
    It seems like when my library is being loaded, the alsa library on which it depends (libalsa09.so) can't be loaded. How can I avoid this? I added both my library's and alsa's directories to LD_LIBRARY_PATH, but I just can't get it done.
    Here's what happens:
    $ LD_LIBRARY_PATH=/usr/lib/ao/plugins-2:lib java -cp bin wmagic.basic.Wave 440
    Can't load library wmagic_alsa
    java.lang.UnsatisfiedLinkError: /home/antoranz/eclipse/europa/workspace/wmagic/lib/libwmagic_alsa.so: Can't load IA 32-bit .so on a IA 32-bit platform
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:993)
            at wmagic.basic.SoundOutput.initializeAlsa(SoundOutput.java:87)
            at wmagic.basic.SoundOutput.<init>(SoundOutput.java:29)
            at wmagic.basic.Wave.main(Wave.java:61)Maybe the problem is the way I'm creating my jni so (in an ant target):
    <echo>Compiling Library</echo>
    <exec executable="${Ccompiler}">
         <arg value="-o"/>
         <arg value="${library.dir}/libwmagic_alsa.so" />
         <arg value="-shared" />
         <arg value="-I${source.dir}/wmagic/alsa" />
         <arg value="-I${jni.includes.dir}" />
         <arg value="-I${jni.includes.dir}/linux" />
         <arg value="-lalsa09" />
         <arg value="-L/usr/lib/ao/plugins-2" />
         <arg value="${source.dir}/wmagic/alsa/wmagic_alsa.c" />
         <arg value="-static" />
         <arg value="-lc" />
    </exec>How can I get it to work? I'm catching the exception and using Java Sound as a fall back, but I want to use alsa (and that's another thread in the forums: How to use alsa's default device in Java Sound... but nobody has told me how to... so don't go down that path, please. :-)).

    If you are linking to a shared library then one of the following must be true.
    1. The shared library must be in the shared library path of the OS
    2. You must explicitly load the shared library first using an explicit path.

  • Trying to make my own java library need help!

    I have been trying to make a java library that will save data in cdf format.
    Every time I try to implement code using this library i created i get the error shown below, I put the jar file in the jdk/jre/lib/ext file, so when I import it, it does work. But i dont know know what to do with this error any insight would be greatly appreciated,
    Constructor
    You are connected to the OSACBM sever...
    new.xml has been recieved and unmarshalled
    ELEMENT: DAInt:
    DAInt value: 34
    DAInt id: 2000
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no cdfNativeLibrary in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at gsfc.nssdc.cdf.CDFNativeLibrary.<clinit>(CDFNativeLibrary.java:47)
    at gsfc.nssdc.cdf.CDF.create(CDF.java:221)
    at osacbm_client_.CDFHandler.InitializeCDF_File(CDFHandler.java:45)
    at osacbm_client_._Client.Unmarshaller(_Client.java:64)
    at osacbm_client_._Client.<init>(_Client.java:25)
    at osacbm_client_.Main.main(Main.java:19)
    Java Result: 1

    OK, I checked the javadoc myself, and although the text is clear and correct I acknowledge it doesn't help you a lot to investigate the problem, so I'll try to give out a clue:
    -> your problem is that the JVM does find your jar, but doesn't file the native library it depends on (+"cdfNativeLibrary"+).
    You should locate the shared library file (+cdfNativeLibrary.dll+ or cdfNativeLibrary.so depending on your OS), and make sure your PATH variable contains its folder, or add this folder to the java.library.path system property (specified as -D java.library.path=<path/to/folder/containing/libfile> in the launching command line).
    Note that it's not clear from your message if you're writing the gsfc library or a client of it:
    - It the former, and if you're new to Java, then be aware that integrating a native library is not the easiest way to learn Java; just in case, make sure you read and understand a JNI tutorial (for Java Native Interface; I was willing to push you a link, but I realize the [Java tutorial|http://java.sun.com/docs/books/tutorial/] has no such chapter, which reinforces that it is an advanced topic).
    - If the latter, then how to install the library's components should be documented in its manual.

  • Projects that has used OPA via Java library

    Hi All,
    Would like to know if OPA been used as a Java library in an actual project/implementation. At the moment I would like to know the approach/strategy and lessons learnt if we go this path - since there is a lot of implementation details to address.
    Its a possible integration at the moment for a client of ours - the pros/cons vs OPA as a webservice has been discussed, but due to high performance requirements may need to use OPA as a library. Currently no specific business scenarios for OPA, but the intention is to use it as wide as possible - since any rules not in OPA is likely to be Java.
    Cheers
    Noel
    Edited by: Noel Lim on Apr 3, 2012 3:00 AM

    I know several customers use OPA via the Determinations Engine API. We always recommend using the Determinations Server where possible in preference to the API, as upgrade is generally cleaner and it is generally easier to change the application separately from the policy models.
    See also the YouTube video here: http://www.youtube.com/watch?v=9-opkHsAyEI&list=UUtUHPDCD1EFH_ftnhR_i-dQ&index=4&feature=plcp which gives an introduction to the different OPA deployment options available.
    Edited by: Davin Fifield on 30-Apr-2012 00:49

  • Add jar file to forms application standard java library

    Overall Problem
    I created a jar file using JDeveloper to be loaded as a bean in forms builder. But the jar file ended up being really large because I had to add some standard libraries that JDeveloper knew about but Forms didn't to this jar file, it takes forever to load in my forms application.
    Background
    Jdeveloper has a drop down list of standard libraries that aren't commonly used that a developer can have included/referenced into their java project.
    Oracle Forms Library
    One of the standard libraries in JDeveloper that can be referenced when compiling a project is the Oracle Forms library. I have to reference this library in my compilation of my java project in JDeveloper because some of the java code in this project requires the Oracle Forms library. When the jar file is created in JDeveloper the Oracle Forms Library isn't actuaally physically located anywhere in the jar file that is produced for deployment. But the jar file runs perfectly in my forms application. Forms builder and the forms application server seems to already know about the Oracle Forms library.
    Java Media Framework Library
    There is another standard library listed in JDevelopers drop down list that I recently chose to use in my Java Application, the Java Media Framework library. But my forms application couldn't find any of the Java Media Framework classes when it launched the jar file that was deployed from JDeveloper. Obviously the classes wern't physically located in the jar file I created, because I figured that the forms application server/forms builder would already know about about this standard library that JDeveloper knew about.
    Not very effective Solution
    So I physically put/included the whole Java Media Framework Library into my jar file and then my form launched fine. But it now takes forever to load. How can I add the Java Media Frame work library jar files as one of the standard libraries that the forms builder and application server already sees (Like the Oracle Forms Library) without having to put the library in the forms/java folder and wait for the this jar file to download to the user's cache?
    Side note: The Java Media Framework Library is allowing the ability to launch video from my form. Very useful tool!!! So it would be good if forms had this already added as a standard library like it is in JDeveloper. But I only see the ability to reference this library in DS 10gR2 for JDeveloper.
    Thanks,
    Michelle

    Yes I have successfully been able to run a javabean application that uses the Java Media Framework methods within a forms module. The video seems to play and interact normally in the forms environment (launched from a DS or the AS).
    Basic Requirements
    Develop the java application functionality look and feel, including adding funtionality calls to the JMF library where needed.
    Develop an Oracle Forms Interface wrapper that will be the initial class called from the bean area, to hande any communication between the bean and the form.
    Configure the deployment of the jar to physically include all the needed classes from the JMF library.
    Sign the jar file and make sure it is placed in the forms/java folder and referenced in the appropriate forms configuration files.
    Depending on the type of video that the will be played certain .dll files might need to be added to the users system folder. Using H264 (.mov) should work fine without any extra .dlls.
    Thanks,
    Michelle
    Message was edited by:
    mpoore

  • ERROR on AIX - no library weblogicoci36 (libweblogicoci36.a or .so) in java.library.path

    I have WLS 5.1 SP10 running successfully on all platforms (Solaris,
    HP-UX, NT/2000 and AIX). On AIX, I am unable to communicate with the
    Oracle instance. The error I am receiving is the well-known "no
    library weblogicoci36 (libweblogicoci36.a or .so) in
    java.library.path". The actual command and output are:
    [undertaker]/apps/weblogic2/weblogic/bin/oci816_8$ java utils.dbping
    ORACLE weblogic weblogic
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message 'no library weblogicoci36 (libweblogicoci36.a or
    .so) in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at java.sql.DriverManager.getConnection(DriverManager.java:459)
    at java.sql.DriverManager.getConnection(DriverManager.java:108)
    at utils.dbping.main(dbping.java:156)
    I have followed the BEA recommended resolution steps, and the problem
    persists. While I have seen many posts about this problem on Solaris,
    NT and even HP-UX, I have not been seen posts with AIX as the
    platform. Any insight into why the problem is occuring is greatly
    appreciated. Here is the enviroment:
    1. AIX 4.3.3
    2. WLS 510 SP10
    3. Oracle 8.1.6
    ============= Setting Environment ================
    WL_HOME=/apps/weblogic2/weblogic
    JAVA_HOME=/usr/java_dev2
    CLIENT_CLASSES=/apps/weblogic2/weblogic/myserver/clientclasses
    SERVER_CLASSES=/apps/weblogic2/weblogic/myserver/serverclasses
    SERVLET_CLASSES=/apps/weblogic2/weblogic/myserver/servletclasses
    PATH=/usr/java_dev2/jre/sh:/usr/java_dev2/sh:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/apps/oracle/product/8.1.6/bin:/usr/local/bin:/usr/ucb
    CLASSPATH=/usr/java_dev2/lib/tools.jar:/apps/weblogic2/weblogic/license:/apps/weblogic2/weblogic/lib/weblogic510sp10.jar:/apps/weblogic2/weblogic/classes:/apps/weblogic2/weblogic/lib/weblogicaux.jar:/apps/weblogic2/weblogic/lib/aix/oci816_8:/apps/oracle/product/8.1.6/bin:/apps/oracle/product/8.1.6/lib:/apps/weblogic2/weblogic/bin/oci816_8:/apps/weblogic2/weblogic/myserver/clientclasses:/apps/weblo
    ic2/weblogic/myserver/serverclasses
    LIBPATH=/apps/weblogic2/weblogic/lib/aix:/apps/weblogic2/weblogic/lib/aix/oci816_8:/apps/oracle/product/8.1.6/lib
    Regards,
    Jeffrey Overton

    We have "worked around" this problem. We switched to the Oracle thin
    client driver and resolved the problem. We are still working with BEA
    Technical Support on this issue. I'll post updates as we get more
    information.
    [email protected] (Jeffrey Overton) wrote in message news:<[email protected]>...
    "Tom Gross" <[email protected]> wrote in message news:<[email protected]>...
    I haven't tried 5.1 on AIX, but I know in 6.0 there is an error in startWebLogic.sh
    specific to AIX: it exports "LIB_PATH" when it should say "LIBPATH". I just checked
    in the 5.1 script and it appears to have the same error. You need to change the
    name "LIB_PATH" to "LIBPATH". This error is fixed in 6.1 so we can be sure there
    is at least one other person on the planet who is trying to use Weblogic on AIX.
    :-)Tom,
    Thanks for the help. Unfortunately, I cannot find a reference to
    LIB_PATH in setEnv.sh or startWebLogic.sh. At this point, we are
    pursuing the possibility that the IBM JDK 1.2.2 introduced some
    incompatibilities. From the "IBM AIX Developer Kit, Java TM2
    Technology Edition, Version 1.2.2 README":
    "Because of incompatibility between the IBM AIX Developer Kit, Java
    TM2 Technology Edition, Version 1.2.2"..."JNI executable programs,
    including third-party software packages and those built for previous
    Java software releases on AIX, that were built without this binder
    option are NOT compatible with the JVM in this
    release"..."Compatibility of an executable program can be verified
    using dump -ov The stdout output will show the modtype to be "UR"..."A
    script file (convertJNI) is shipped in the directory
    /usr/java_dev2/sdk/sh. This script will help you to convert the
    modtype to UR in the optional header of your JNI executable programs
    without having to recompile the code."
    Out of the hundreds of potential files, which need to be converted?
    Based on additional information obtained by running in verbose mode,
    we were able to gather the following:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message '/apps/weblogic2/weblogic/lib/aix/oci816_8/libweblogicoci36.a:
    0509-130 Symbol resolution failed
    for /apps/oracle/product/8.1.6/lib/libclntsh.a(shr.o) because:
    0509-136 Symbol JNI_CreateJavaVM (number 253) is not
    exported from
    dependent module /usr/java_dev2/jre/bin/libjava.a.
    0509-136 Symbol JNI_GetDefaultJavaVMInitArgs (number 254) is
    not exported from
    dependent module /usr/java_dev2/jre/bin/libjava.a.
    0509-136 Symbol dlsym (number 255) is not exported from
    dependent module /usr/j'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at java.sql.DriverManager.getConnection(DriverManager.java:459)
    at java.sql.DriverManager.getConnection(DriverManager.java:108)
    at utils.dbping.main(dbping.java:156)
    We performed the dump -ov on each and each reported a modtype of RE
    instead of UR.
    We backed up libclntsh.a and libweblogicoci36.so, converted one at a
    time, and ran the dbping after each. No such luck. Any ideas on how
    we can find the JNI needle in the haystack?
    Regards,
    Jeffrey Overton

  • Migration 10.1.2 - 10.1.3, error:: no ocijdbc10 in java.library.path

    Hi,
    I'm using Jdev 10.1.3, and my problem is the following one:
    In my connection definition, that ORACLE_JDBC_TYPE is oci8 and when i try to conenct to BD, it occurs:
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    I've Oracle Client 9i and 8i, i've used each of them, but it doesn'nt work
    I've drivers,jar, dll of client 10, becuase i supposse that it is that application need,
    and i copy them in jdbc/lib of Oracle client(8i and 9i) and in jDev 10.1.3, but it doesn`t work.
    The files are :
    jars:: classes12.jar and ojdbc14.jar
    dll ::oci.dll,ocijdbc10.dll, ociw32.dll,orannzsbb10.dll,oraocci10.dll and oraociei10.dll
    Is there other path else where i should copy this jars,dllls?
    Could we help me?
    Thanks.

    I am not familiar with Mac OS, but there are two things I can think of that you can check:
    - This is trivial, and you probably did that: ist libocijdbc10.dylib in /usr/local/oracle/instantclient10_1 ?
    - Could it be that Java is 32-bit and libocijdbc10.dylib is 64-bit or vice versa?
    Yours,
    Laurenz Albe

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • How to pass java.library.path as a VM argument in JNLP file

    I jave a jar file containing reference to sqljdbc4.jar as I am using JDBC to talk with SQL Server. It works fine through eclipse IDE when I give the fillowing VM Argument
    -Djava.library.path=C:\Users\reddys2\Downloads\sqljdbc_4.0\enu\auth\x86. Without this I get the "error message" saying that "failed to load sqljdbc_auth.dll
    Now I would like to bundle working jar file in .jnlp and invoke through browser. I tried to add vm argunment (<property name="java.library.path" value="C:\Users\reddys2\Downloads\sqljdbc_4.0\enu\auth\x86"/> ) in the .jnlp file. But still i am getting "WARNING:Failed to load the sqljdbc_auth.dll cause:no sqljdbc_auth in java.library.path"
    Any help is greatly appreciated. Here are the contents of JNLP file
    =======================================================================================
    ?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://xxx.16.19.56:8080/ifsdTools/" href="PF_UserList.jnlp">
    <information>
    <title>Login into PF</title>
    <vendor>XXX XXXX</vendor>
    <description>Provides ability to mirror PF Data base locally</description>
    </information>
    <resources>
         <j2se version="1.4+"/>
         <jar href="PopulateIFSDProjectForgeData.jar" />
         <jar href="Psqljdbc4.jar" main/>
         <property name="java.library.path" value="."/>
         <property name="javax.net.ssl.keyStore" value="NONE"/>
         <property name="javax.net.ssl.keyStoreType" value="PKCS11"/>
         <property name="http.proxyHost" value="proxy1.lmco.com"/>
         <property name="http.proxyPort" value="80"/>
         <property name="java.library.path" value="C:\Users\xxxx\Downloads\sqljdbc_4.0\enu\auth\x86"/>
         <property name="pfProjectId" value="proj1073" />
    </resources>
    <security>
         <all-permissions/>
    </security>
    <application-desc main-class="ifsdTools.PopulateIFSDProjectForgeData" />
    </jnlp>
    =========================================================================================================
    Edited by: 878645 on Apr 26, 2012 3:43 PM

    Thanks for the pointer. Question that I have is I am referencing sqljdbc4.jar in my application, which in turn using sqljdbc_auth.dll.
    Which one should i refernce through <nativelib>. Is it sqljdbc4.jar or sqljdbc_auth.dll.
    have added the following line to the .jnlp.
    <nativelib href="sqljdbc4.jar"/>
    But still it is complaining on sqljdbc_audth.dll. If it is sqljdbc_auth.dll, can I use <nativelib> to pass it.
    In that case does it need to be signed?. If so,
    Is it possible to sign .dll using 'jarsigner'?.
    Edited by: 878645 on Apr 26, 2012 3:43 PM

  • Where to Place java library(.jar) in your application

    Hi,
    I am using ColdFusion - 9 in my application. Also, I am using some third party java library. I put my library in  "\ColdFusion9\lib\" but now my library version is changed. So I need to update those files by replacing the old files.
    My Question Is: Can we place the java .jar files in some location inside my application directory. So that I don't have to do any changes with the ColdFusion library directory for using those libraries.
    Thanks

    CF10 brings in custom paths for this sort of thing:
    http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518-106e125d1353e804 331-7ffe.html
    But this is no help to you.  However there's a third-party solution which'll work on CF9:
    http://javaloader.riaforge.org/
    I've never used it, but I've heard good reports from people who have.
    Adam

  • Is there any java library like MSDN

    is there any java library like MSDN ? probabily you will say java docs .....but java doc dont show any example code.
    MSDN gives syntax+example code almost everything.
    java docs gives the syntax ....but they dont carry example codes. I have downloaded java docs.
    what you people use ? is there any other better thing ?is there any java library which carry example code along with syntax?
    plz share your experience
    thanks

    is there any java library like MSDN ? probabily you
    will say java docs .....but java doc dont
    show any example code.For TONS of examples try here
    It also has very detailed explanations with these examples as to why they work (or don't work, if that's the case).

  • Java Library to drop the incoming packet flow

    hi there,
    i m planning to make application layer filter. i need to drop the flow of incoming packets. So can anyone suggest me any java library which is able do this?
    or else if i have to create my own library then how can i proceed in that?

    thnx oscar 4 ur reply...
    actually i want to drop the incoming packets which r coming from restricted URL. means any how i want to restrict the user to see the particular webpage.
    so if cant hav this low level API in java, then can u suggest me how to implement it in other way?..
    i hav to make this project in JAVA only.
    i have got one API named "libipq" (source: snort.org) which can drop the packet flow. But this API is for linux OS and i want to implement on windows... pls help

Maybe you are looking for