Where to place dlls ?

hi
I m using orion application server ,
From JSP i m calling JNI in the application server, my problem is that when my dlls are put in the directory jdk/bin it works properly , if i put dlls any other directory and point to that directory using "java.library.path"Application server blows,
Also when my application is done as stand alone application( "java classname") it also works properly.
Any suggestions or hints for this
Renjith

If it doesn't work, then maybe your application server overwrites some of these properties. I would look at it's property files and bat files and what else it has of things you can configure and see if I could change the PATH variable (if you run on windows). Or maybe you just need to reboot your machine after you have extended your PATH variable. I'm not sure what else you can do to make it work..

Similar Messages

  • Using JTWAIN    -   where put JTWAIN.DLL ?

    hi,
    I am trying to use JTwain to acquiring images, and I found that JTwain works easy inside the IDE of Netbens.
    But a problem come about the installation of the dll_, that is used from the library of Asprise JTwain _(file AspriseJTwain.dll)_.
    The documentation of Asprise JTwain says :
    Put AspriseJTwain.dll into your system path, e.g., C:\Windows\System32.Following this suggestion my code work fine, but I need to distribute the program; and for this purpose is not comfortable for me that the installation have to do the copy of the file.dll inside the directory C:\Windows\System32.
    I would ask if (in order to do the installation easier) it is a different place (than  C:\Windows\System32) where put the dll.
    Thank you for any advice..
    tonyMrsangelo
    Regards
    Edited by: user13286583 on Nov 7, 2010 2:29 AM

    Thank you Andrew for you answer,
    I don't need use Java Web Start feature.
    The application runs not in the web, but in a calculator (in stand alone mode).
    How I said, I put the dll inside the package of the class that need acquire the image;
    I think that this is the same that you said:
    “to put the DLL in a Jar” .
    When I put resources into the packages, usually, the IDE of Netbeans handles all automatically
    (make jar files where classes find the resources...), and the jar that is produced execute properly the program.
    But this procedure seem that doesn't work if the resource is a dynamic linked library.
    The reason of this, I think, is because the dll are particular resources that don't follow the same management
    of the resources of java.
    I don't think (and I also hope) that is not my duty (as programmer) to manage the call to the the dll: this duty
    is made in the package (library) of Asprise Jtwan... and my supposition is also confirmed, because the program
    works fine when the dll is put in the directory C:\Windows\System32.
    I think it need to understand better how the JVM uses the work of the Windows XP Operating System.
    Thank you
    regards
    tonyMrsangelo

  • I have a complaint about my mac book pro being slippery. Why do these expensive computers that we as consumers purchase if you set them on a couch slip off no matter where you place them on the couch?

         Hi, my Mac Book Pro 15 inch lap top if i set it on the couch no matter where I place it slips off and luckily so far I have caught it before it falls onto the floor and gets ruined, of which I am super afraid of, due to what I initially paid for it as the consumer. Also, the couch is not made of slippery material at all. Also, when using it on my lap while watching tv, and multi tasking while doing my college homework, it even slides off of my lap at times. Why is it called a lap top then when it's not working as one? Are we to wear rubber pants that grip your products? Also, Why do you place on your Apple website that in one area a satin cover is available in the teal color, and then in another area it's discontinued? I believe it would be simpler if Apple would just remove the product all together from the purchasing website once any product becomes discontinued. Also, I was sitting here at home waiting for a reply about the satin cover in teal no longer being available period or that it has shipped, but yet I ended up calling Apple altogether myself and finding this all out that the only available color is the black. It would've been nice to have recieved an e-mail or a phone call on why it wasn't going to be shipped, or shipping instead of having to do customer services job and doing the leg work myself. Also, why is it that no one also even tells a consumer about the classes that were offered to a new consumer for 14 days after purchase of paying the $99.00s to learn about their macs of any kind? If I had known about such a program, I surely would've signed right up for it. Now I am being told that I can only take one clas at a time or something?!? I seriously wish I was told about this as a consumer of the Mac Book Pro 15 inch, because I would've purchased that offer right away, and now I am stuck and can no longer do it. Also I have had my computer since October of last year. So, I am in college as becoming a graphic designer within a degree of an Associates of Science and am now still struggling to learn the computer, and the programs I pruchased as well at the time of purchase, along with an Epson printer, the magic mouse, and the one year warranty. As for this all, I do believe that Apple needs to make a better bottom to the Mac Book Pro's within a much better quality for the price we pay as consumers, and all other lap tops and/or Notebooks in making them slide proof. The tiny rubber spots on the bottom of the lap tops or any Apple computer similar to mine just needs a better quality improvement to us consumers I spent good money on this purchase, I think now I deserve a rubberised protective cover for free for the slipperyness, and also since I was never told about the program for the classes of which a consumer  was to pay $99.00s for, I think as a good paying quality consumer for Apple's products, I now deserve these classes for free as well.
    Sincerely,
    Kim

    Hi shldr2thewheel,
         it has been a while since we have last spoke, I would like to let you know, I am still working on getting used to the switch from windows to a Mac/Apple system. I do have a new question for you, I did purchase In Design CS5.5 through journeyed.com through Cuyahoga Community College of which I attend as a student, is there a way to purchase an online book through iTunes to learn that as well? Also, you know me, the struggling student, I would also, when and if the book can be purchased through the iTunes, would need to know if you do know of a much easier book for struggling students like myself and at a reasonable price as well for the In Design CS5.5 program. Our campus bookstore had closed early, and, so did the colleges library and our local library here where I do live, so, I cannot go to either place to purchase a book or to take out a book, plus cash funds are low at this moment as well but, I do have money left on the iTunes account to use, if it can be used. So, can it be used, the iTunes money, towards finding a low priced online book? I am in great need of assistance as I have a project due for my one course for this Tuesday, September 4, 2012.
    Sincerely in need of help once again,
    Kim

  • How do I get an image to stay where I place it without pinning it?

    Whenever I place my logo in the top left corner it winds up in the middle. Not sure why this is doing this but I can correct this error if I pin it. Then it stays exactly where I place it, but then it does not scrolll with the rest of the page, because it is pinned. Thank you!

    Hi Russ,
    Ideally, Image should stay where you placed it. Please send your .muse file to [email protected], add this forum link and refer it to me.
    Regards,
    Aish

  • Where to place ORDER BY clause when a query includes UNION

    I have a query that has UNION in it. could you please tell me where to place the ORDER BY clause. Because it's throwing an error if i place the ORDER BY clause at the end

    Because you are using the UNION set operator, you need to either specifically list your columns or use positional notation.
    Without a set operator we can order by the column name without specifically listing it:
    SQL> select * from dual
      2  order by dummy;
    D
    X
    1 row selected.This doesn't work once you introduce a set operator:
    SQL> ed
    Wrote file afiedt.buf
      1  select * from dual union all
      2  select * from dual union all
      3  select * from dual
      4* order by dummy
    SQL> /
    order by dummy
    ERROR at line 4:
    ORA-00904: "DUMMY": invalid identifierSo you need to either use positional notation:
    SQL> ed
    Wrote file afiedt.buf
      1  select * from dual union all
      2  select * from dual union all
      3  select * from dual
      4* order by 1
    SQL> /
    D
    X
    X
    X
    3 rows selected.Or, specifically list or alias the columns you are projecting:
    SQL> ed
    Wrote file afiedt.buf
      1  select dummy from dual union all
      2  select dummy from dual union all
      3  select dummy from dual
      4* order by dummy
    SQL> /
    D
    X
    X
    X
    3 rows selected.
    SQL> ed
    Wrote file afiedt.buf
      1  select dummy as d from dual union all
      2  select dummy as d from dual union all
      3  select dummy as d from dual
      4* order by d
    SQL> /
    D
    X
    X
    X
    3 rows selected.cheers,
    Anthony

  • Marking green screen video to know where to place background images

    My students want to create short green screen movies using a number of background photos that will change as they talk about their topic. How can they mark their green screen video so they will know where to place each photo?  We are using iMovie 11.  Thanks

    If that's the case.  You don't need green screen at all.
    You can shoot the students framed in such a way as to allow room for the photos and then use Picture in Picture.
    Here's a how-to from the MacMost site.  It's for iMovie '09 but is essentially the same for iMovie '11.
    http://macmost.com/imovie-picture-in-picture.html
    Post back if you have further questions.
    Matt

  • Where to place the third party jars on WLS 7.0SP2

    Our application use the thirdparty JDBC driver, for example, the JDBC driver for
    mySQL. I donot want my customer to modify startWeblogic.cmd or some file else
    to make the jar file available for the applicaiton.
    my question is if some directory exists under weblogic700/server where I can place
    the jar file(that is, like the installed extension of JDK or JRE).
    I try to place the jar file on server/ext, it does not work.
    Guofeng

    "Guofeng Zhang" <[email protected]> wrote in message
    news:[email protected]...
    >
    Our application use the thirdparty JDBC driver, for example, the JDBCdriver for
    mySQL. I donot want my customer to modify startWeblogic.cmd or some fileelse
    to make the jar file available for the applicaiton.
    my question is if some directory exists under weblogic700/server where Ican place
    the jar file(that is, like the installed extension of JDK or JRE).
    I try to place the jar file on server/ext, it does not work.
    GuofengDisclaimer: I am a newcomer to the world of BEA WLS,
    so try this at your own risk.
    For the 3rd party classes to be found, they have to be included somewhere
    in the CLASSPATH. The best place (IMO) for customisation of the CLASSPATH
    is in the extEnv.sh. You will not find it in a standard installation of
    WLS, but if you look in $WL_HOME/server/bin/startWLS.sh you will see this:
    PATH=".${PATHSEP}${WL_HOME}/server/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSE
    P}${JAVA_HOME}/bin${PATHSEP}${PATH}"
    # Import extended environment
    if [ -f extEnv.sh ]; then
    . extEnv.sh
    fi
    Note the inclusion of "." at the start of PATH. This is magic that enables
    the ". extEnv.sh" command to locate the "extEnv.sh" script.
    In "extEnv.sh" you can use the EXT_PRE_CLASSPATH, EXT_POST_CLASSPATH,
    EXT_PRE_PATH, EXT_POST_PATH and LD_LIBRARY_PATH to add additional classes
    and directories to the server environment.
    For additional information, refer to the WebLogic Server Administration
    Guide (http://e-docs.bea.com/wls/docs70/adminguide/startstop.html).
    Similar, if you look in $WL_HOME/server/bin/setWLSEnv.sh you will see this:
    PATH="${WL_HOME}/server/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSEP}${JAVA_HO
    ME}/bin${PATHSEP}${PATH}"
    export PATH
    # Import extended environment
    if [ -f extEnv.sh ]; then
    . extEnv.sh
    fi
    Note the missing "." in the PATH. This effectively means that even if
    the "extEnv.sh" script exists in the current directory, then ". extEnv.sh"
    command will only look along the PATH for the "extEnv.sh" script! To me,
    that looks like an error (probably caused by a DOS-programmer used to
    the default behavior in DOS to always look in the current directory
    regardless of the setting PATH), so as part of my localised installation
    procedure, I replace the offending part of setWLSEnv.sh with:
    # Import extended environment
    if [ -f extEnv.sh ]; then
    . ./extEnv.sh
    fi
    which forces the "." command to read the "extEnv.sh" file in the current
    directory, regardless of the setting of the PATH variable. I have
    notified BEA of this, but their responses is that it is per design!
    Regards,
    Jan Bruun Andersen

  • Can I specify the location where iTunes places ripped mp3's?

    I would like to use iTunes to rip my CD's.
    However:
    1. I keep my music at a different location (directory tree arranged by genre, artist, albums etc) than the iTunes library. I manage the music library myself.
    2. I edit the MP3 tags outside of iTunes (using MP3TAG software).
    So, can I
    1. tell iTunes the directory where to place the ripped mp3's and
    2. prevent iTunes from automatically integrating the rips into its library. I will import the mp3's into iTunes when I an good and ready.

    Aloke wrote:
    I would like to use iTunes to rip my CD's.
    However:
    1. I keep my music at a different location (directory tree arranged by genre, artist, albums etc) than the iTunes library. I manage the music library myself.
    2. I edit the MP3 tags outside of iTunes (using MP3TAG software).
    So, can I
    1. tell iTunes the directory where to place the ripped mp3's and
    Not really. iTunes places rips at *<iTunes Media Folder>\(Music\)<Album Artist|Artist>\<Album>\## <Track>.<ext>*. You can change the location of your *<iTunes Media Folder>* but that's it. The optional Music\ bit depends on whether you're using the new *iTunes Media Organsiation*.
    2. prevent iTunes from automatically integrating the rips into its library. I will import the mp3's into iTunes when I an good and ready.
    Nope. iTunes add files to the library as part of any import, rip or play operattion.
    For what it's worth I keep my library organised manually, but why use MP3Tag to edit data that can just as easily be editied inside iTunes? After I rip an album or purchase from iTunes/Amazon I use iTunes to amend the details so that the album will be properly organised (see tips at http://www.samsoft.org.uk/iTunes/grouping.asp) and then use MediaMonkey to reorganise the files & folders to my style. I then simply delete & reimport the album.
    tt2

  • Problems installing IWork Pro 9.0.3 Not sure where to place my question but I'm having problems installing iwork 9.0.3

    Not sure where to place my question but I'm having problems installing iwork 9.0. My MacBook Pro doesn't read the disk and ejects after a minute. I just bought the mac and iwork. Any thoughts?

    https://discussions.apple.com/community/iwork

  • When I ask siri where a place is (ex: dunkin donuts) she won't say "I found 3 places near you" she won't say anything. It will just show the places. This has been happening since the ios 6 update. Please help

    When I ask siri where a place is (ex: dunkin donuts) she won't say "I found 3 places near you" she won't say anything. It will just show the places. This has been happening since the ios 6 update. Please help

    When I ask siri where a place is (ex: dunkin donuts) she won't say "I found 3 places near you" she won't say anything. It will just show the places. This has been happening since the ios 6 update. Please help

  • CS6 64bit Illustrator - win, where to place scripts

    HI all,
    I just got CS6,  and I can't figure out where to place all of my scripts.  In CS4 version, once the scripts where in the correct folder, they would show up in the the scripts list,.  In CS6, I have to keep finding them.  Any help would be great.

    Karleen1977,
    We're you ever able to resolve this issue?
    Carlos - For me, the issue isn't installing the scripts in the Script menu.  It's the fact that in CS6 Illustrator doesn't remember the location of the scripts when you use Cntrl+F12 or select "Other Scripts" from the scripts menu.  It reverts to the root C: drive every time I try to get to my "other scripts".  This is a new behavior in CS6, as CS5 always remembered the last folder location when selecting "Other Scripts". 
    I need to be able to hit "Cntrl+F12" and have it remember to load the last folder I used for scripts, so I we don't have to waste a ton of time browsing to the folder location just to run a "time-saving" script. 
    Anyone have any ideas with this?

  • Where did places go ?

    Frankly I don't like the new Finder window in Lions. Where did places go ? Instead I have Favorites - Shared and Devices. I used Places a lot in the last version of OS and I truly miss it especially since I did not upgrade all my computers. This is very confusing at times. Any chance a 3rd party could give me back my old finder set-up ?

    Laurent Imbault wrote:
    Where did places go ? Instead I have Favorites - Shared and Devices.
    Finder
    "Places has been replaced by Favorites, and Search For is gone entirely."
    See: What's new in Lion: the Finder and files

  • Where to place HTMl files in  tomcat while executing Servlets examples ?

    Hi,
    I'm learning servelets (HttpServlets). in that input is given through html files.now i dont know where to place that html file in apache tomcat server
    This is my Directry Structure
    Java's ---- C:\Program Files\Java\jdk1.5.0\bin
    Tomcat's--C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ThreeParams extends HttpServlet
    public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Reading Three Request Parameters";
    String docType ="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +"Transitional//EN\">\n";
    out.println(docType +"<HTML>\n" +"<HEAD><TITLE>" + title + "</TITLE></HEAD>\n" +"<BODY BGCOLOR=\"#FDF5E6\">\n" +"<H1 ALIGN=\"CENTER\">" + title + "</H1>\n" +"<UL>\n" +" <LI><B>param1</B>: "+ request.getParameter("param1") + "\n" +" <LI><B>param2</B>: "+ request.getParameter("param2") + "\n" +" <LI><B>param3</B>: "+ request.getParameter("param3") + "\n" +"</UL>\n" +"</BODY></HTML>");
    }HTML code ---
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD><TITLE>Collecting Three Parameters</TITLE></HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1 ALIGN="CENTER">Collecting Three Parameters</H1>
    <FORM ACTION="ACTION="C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\root\WEB-INF\classes.ThreeParams">
    First Parameter: <INPUT TYPE="TEXT" NAME="param1"><BR>
    Second Parameter: <INPUT TYPE="TEXT" NAME="param2"><BR>
    Third Parameter: <INPUT TYPE="TEXT" NAME="param3"><BR>
    <CENTER><INPUT TYPE="SUBMIT"></CENTER>
    </FORM>
    </BODY></HTML>
    {code}
    servlet code is compiling without any errors, now where should i place the class file and html file in tomcat to execute this program..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    webapps\yourapplicationname\WEB-INF\

  • Where do we need to place DLL files for webutil_c_api

    Hi..
    (I posted this a few days back, but no reply..buddies, help me plz)
    In Forms 10g while using webutil_c_api to call c functions,
    where do we need to place the DLL files. Is it enough if we place in the AS or do we need to place the dll files in all the client machines.
    Please clarify me.
    Thnx and Regards
    Sriram

    Hi Sriram,
    Yes, you can place the dlls in the same folder as d2kwut60.dll. Also, for your dll
    to get donwloaded to the client, you need to configure the webutil.cfg file and add an entry for your own dll , after the webutil dll entries, as shown below:
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    install.syslib.0.user.1=scanner.dll|192512|1.0|true
    Regards
    Kavitha

  • If my native method depends on other dll, how and where should place them?

    I write a native method called A, and A needs to call some funciton in b.dll, c.dll,
    then I generate the dll for A, and load in the java code, but how should I deal with b and c.dll
    thanks

    according to what you say, i just need to put the dlls which the native method depend on to the you mentioned location,right?
    I tried but failed.
    can you give me more idea?

Maybe you are looking for

  • Why does my scroll slider go to bottom, and stay there, and not allow me to scroll upward?

    I can open Thunderbird (v.31.4.0) and use it successfully. But if I close it and then open it again (without turning the computer off) the scroll slider goes all the way to the bottom and stays there. It resists me if I try and scroll upward and imme

  • Colors washed out

    Hello, after working a couple of months with Adobe PS CS4 and Apple FCE 4 on my new iMac I finally want to burn the results onto a DVD. But what ever I do concerning settings and tools the results regarding the colors are always the same (and disappo

  • My apple TV has a big apple on the screen and the light is flashing constantly

    My apple TV has a big apple tv on the screen and will not respond to anything.,  The light is flashing slowly all the time.  The apple comes and goes.  How di I fix this problem

  • Just updated my iPhone 4 to iOS 7.1.2, and my phone won't get service

    So I just went through the new software update, and since my phone has restarted it won't get service. A "Waiting for activation - this may take some time" message popped up after the reset, but nothing else. All I see is "Searching...". I've never h

  • Volume needs repair error

    I noticed my system was acting stranged, so I did a First Aid using Disk Utility and it came up with the following message: Verifying volume "OS X 10.4.6" Checking HFS Plus volume. Checking Extents Overflow file. Checking Catalog file. Illegal name I