SWT Libraries in .jar file - UnsatisfiedLinkError

I have a program that runs inside another application like a plug-in. I'm using the org.eclipse.swt toolkit.
The program runs great the first time I run it, but when I try to run it a second time I get:
Caught Exception: java.lang.UnsatisfiedLinkError: no swt-win32-3550 or swt-win32 in swt.library.path, java.library path, or the jar file.The libraries are in my jar file and as I indicated, the program works great the first time it's run.
I cannot control each user's environment so I don't think the CLASSPATH and load() options will work for me. Also, for distribution purposes, I really need to keep all the required libraries in the .jar file.
Could someone explain this to me?
Any suggestions on how to proceed?

QuirkyGal wrote:
Well, we have multiple locations with different environments. We have distributed environments and we have standalone installations. And we have business partners with no IT departments and others with small IT departments who are just too busy. And most of the people we work with are on Windows machines, but not all.
Ok, but none of that changes what I said.
Of course I could distribute multiple files. I'd just like to avoid that if possible. And I thought that the big advantage to using swt is that it would use the system libraries (avoiding potential display problems) but I wouldn't have to concern myself with which system the user is on because the toolkit would take care of all that. Is that not how swt is supposed to work?
It doesn't matter who loads the shared library - what I said still applies.
So the OS loads the library? Ok. I thought the JVM loads the library. So is there a way to tell the system to unload it? Or to tell it that it's already loaded?
Unloading requires that you use a class loader and what some call a trick with the garbage collector.
However a library is loaded into the process space (but by the OS) not into the OS space. So restarting the entire process requires reloading it.
>
I'm just not getting why it works the first time...Couldn't say. I wasn't really commenting about that but rather your other comment.
You might want to specifically define how you get to the "first" and "second" time.

Similar Messages

  • How to use external libraries and JAR files with OpenScript

    Hello.
    I am trying to include ApachePOI, JODATime, and Javamail in my scripts to handle different aspects of our automated performance tests.
    I followed the documentation for Eclipse to be allowed to utilize these external libraries, however, when I attempt to run my tests the classes and methods that are being imported, show up with errors saying that they do not exist.
    I think perhaps that I am using them incorrectly. I cannot see them as script assets, package assets, or project assets using the properties for these items. An error pops up and says those screens are not displaying correctly or display incorrect information.
    If anyone can provide guidance on using these items, that would be great. Right now I'm trying to include them as "previously exported scripts" but I'm not sure that method will work.
    Any advice is appreciated.
    Thanks.
    --tiff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Tiff
    For OpenScript 9.* there is an out of the box solution for that, all you need to do in OpenScript go to:
    Script -> Script Properties -> Script Assets -> Add -> jar File ....
    And that is it.
    Alex

  • Libraries and JAR files in netbeans... how to build and deploy a project??

    Hi guys,
    <p>
    I'm having a problem deploying my project. I have created a project structure as so:
    </p>
    <p>
    CLOGE 1.0
    |_Source Packages
    |  |_rdemo
    |    |_ClogeGUI.java [main]
    |    |_ClogeRScript.java
    |_Libraries
       |_Swing Layout Extensions - swing-layout-1.0.jar
       |_C:\CLOGE\JRclient [folder structure of classes]
       |  |_META-INF
       |  |_org.rosuda.JRclient
       |_C:\CLOGE\svgSalamander-tiny [folder structure of classes]
       |  |_META-INF
       |  |_com.kitfox.svg
       |  |_...
       |_JDK 1.6 (Default)
    </p>
    <p>
    Now I can build and run the project in Netbeans (version 5.5) and everything operates as it should. However, if I navigate to the dist folder of the project to the CLOGE_1.0.jar file via the Windows XP Command Prompt and execute "java -jar "CLOGE_1.0.jar", I get this error:
    </p>
    <p>
    Exception in thread "main" java.lang.NoClassDefFoundError: org/rosuda/JRclient/RSrvException<br/>
      at rdemo.ClogeGUI.clogeRScript(ClogeGUI.java:134)<br/>
      at rdemo.ClogeGUI.main(ClogeGUI.java:259)<br/>
    </p>
    <p>
    What do I have to do, so I can simply double-click the CLOGE_1.0.jar file and the project runs?
    </p>
    <p>
    Many thanks,<br/>
    Chris
    </p>
    Edited by: raistrick on Oct 12, 2007 4:49 AM

    Wasn't contracted. Wasn't paid. Wasn't the main focus of the software ;) - I was asked to do it for my technical expertise in statistics and bioinformatics... anyone else here mind giving me some hints other than this unspeakably pathetic excuse for a programmer.
    (by the way "jwenting", if you call yourself a professional and take that attitude to other programmers you won't be in a company very long! Don't jump to assumptions and don't use the internet as some portal to exercise anger that women don't find you attractive and all you have to be cocky about is programming, it's pathetic. Grow up please.
    What I am trying to work out about the answer above, is why. It could mean (1) that you don't know the answer and shunning me so is some poor attempt to save your diminishing ego, which from reading your other posts may be true. It could mean (2) you can't be arsed, which is more likely the case, but then one has to ask why the hell you came on here in the first place. Do you get a kick out of this? Is this your claim to fame - a java forum silver member?? It's not like I wasn't polite or clear in my explanation. Did some unqualified individual steal your job from you once upon a time so all "newbies" thereafter were a target for your pent up aggression? If so, don't worry I am not gunning for your position at all!)
    Many thanks to anyone who can provide a solution. I doubt this is a hard problem to solve and I'd be very grateful if anyone could point me in the direction of an answer. jwentig is quite right, I am not capable of such a task. I'm not a liar, however.
    Edited by: raistrick on Oct 12, 2007 7:25 AM

  • Imported par file to NWDS, jar file missing. Where find par file structure?

    Hi All,
    We want to implement idle session timeout on the portal.  We found a wiki here on the subject.  In order to implement the solution we need to make adjuestments to com.sap.portal.navigation.masthead.par.bak.  When we import this par file to Netweaver Developer Studio, the libraries and jar files are missing.  So obviously it errors then in portal as files are missing.
    So I could add them manually but I don't know what the file structure is on this par file so don't where to add what.  Does anyone know?
    Also when I export the file after manually adding the missing files, will it export all the files or will it behave the same way as the import and leave out the additional files?
    If anyone could help, I'd really appreciate it,
    Kind regards,
    Liz.

    Hi Bala,
    I thought of that just before you responded and it worked!!  Thanks for the response..
    Regards,
    Liz.

  • Jar file not recognized in avk. throwing oracle.ons.ONSException error

    HI,
    in AVK verification test im getting the following error
    classes [ oracle.ons.ONSException oracle.ons.ONS ] referenced by [ oracle.sql.TIMESTAMP\oracle.sql.TIMESTAMPLTZ\oracle.sql.TIMEZONETAB\oracle.sql.TRANSDUMP\oracle.jdbc.OracleCallableStatement\oracle.sql.OPAQUE\oracle.sql.DatumWithConnection\oracle.jdbc.internal.OracleConnection\oracle.jdbc.oracore.OracleTypeCLOB\oracle.jdbc.oracore.OracleType\oracle.sql.TypeDescriptor\oracle.sql.ArrayDescriptor\oracle.jdbc.OracleResultSet\oracle.sql.CustomDatum\oracle.jdbc.driver.OracleConnection\oracle.jdbc.pool.OraclePooledConnection\oracle.jdbc.pool.OracleConnectionEventListener\oracle.jdbc.pool.OracleConnectionCacheImpl\oracle.jdbc.pool.OracleConnectionPoolDataSource\oracle.jdbc.driver.OracleDriver\oracle.jdbc.driver.OracleTimeoutPollingThread\oracle.jdbc.driver.OracleTimeoutThreadPerVM\oracle.jdbc.driver.OracleStatement\oracle.jdbc.driver.OutRawAccessor\oracle.jdbc.driver.PhysicalConnection\oracle.jdbc.pool.OracleDataSource\oracle.jdbc.pool.OracleImplicitConnectionCache\oracle.jdbc.pool.OracleRuntimeLoadBalancingEventHandlerThread\oracle.jdbc.pool.OracleConnectionCacheManager\oracle.jdbc.pool.OracleConnectionCacheManager$1] are not found
    classes [ javax.management.MBeanServerFactory com.sun.jdmk.comm.HtmlAdaptorServer javax.management.MBeanServer javax.management.ObjectName ] referenced by [ org.apache.log4j.jmx.Agent] are not found
    I think, i need to add these libraries(respective jar files).
    can anyone just guide me where to add the jar files in the app server.
    i tried adding classes12.jar and other jar files in appserver/lib folder
    and also in appserver/domains/domain1/lib/ext
    but still its not able to recognize it. do i need to set any classpath for these jars to be accessed.
    i m using java AVk 1.4.1 with jdk1.4.2_09.
    kindly help me,
    Thanks,
    Lovelin

    Hi
    I need a help from the same problem.
    I am getting the same error ie: Namespace prefix 'http' used but not declared
    Actually the error is obtained when i use
    "http://www.glode.com// in one the variables in xsl Or if
    i pass a param with "http://www.globe.com" like this.
    String plsql_ret_url = "http:/www.globe.com"
    g_gx_xsl.setParam("p_url", plsql_ret_url);
    In the xsl sheet it is defined as: <xsl:param name="p_url" />
    Do we need to do some modification to the url to use
    in xsl stylesheets.
    Can you please help me how to solve this.
    thanks a lot in advance
    Yugandhar
    null

  • To add the JNI dll to the jar file and use the dll inside the jar file

    Hi to everybody,
    I am new to java.
    I want to add the JNI dll to the jar file and use it in the java class.
    How can I achieve it.
    Please help me.
    Thanks in advance.
    Regards,
    M.Sivadhas.

    can't be done because none of the known operating systems support reading binary libraries from .jar files ... you can add the binary to the jar but then you have to extract it...
    besides, mixing platform specific and platfrom independent components is not a very good idea, i'd keep the dll out of the jar to begin with

  • Jar file issue. EXCEPTION: java.lang.UnsatisfiedLinkError

    Hey all,
    i'm writing an application that connects to Oracles SCM. I use a lot of the oracle SCM library. Anyway, my application running in oracles jDeveloper works just fine. However when i deploy it to an executable jar file i get the above exception. In the deployment settings i have tried both using the dependency analyzer and including all content. I have selected all libraries that are used in running it within jdeveloper for the deployment. I have posted to the SCM forumn but noone there has any ideas so just wondering if its a problem with jdeveloper or if its just something stupid i've done.
    find the below the full exception im getting when i run the executable jar file. i'd appreciate any ideas/suggestions anyone may have
    cheers
    paul
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: TnsAliasToAddress
    at oracle.repos.helpers.environment.OSEnv.TnsAliasToAddress(Native Method)
    at oracle.repos.services.connection.RepositoryConnectDetails.parseConnect(RepositoryConnectDetails.java:365)
    at oracle.repos.services.connection.RepositoryConnectDetails.<init>(RepositoryConnectDetails.java:74)
    at oracle.repos.services.connection.RepositoryConnection.<init>(RepositoryConnection.java:368)
    at ess.ant.scm.ValidateUser.validate(ValidateUser.java:44)
    at ess.ant.scm.ConnectionFrame.connect_actionPerformed(ConnectionFrame.java:175)
    at ess.ant.scm.ConnectionFrame$1.actionPerformed(ConnectionFrame.java:89)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
    at java.awt.Component.processMouseEvent(Component.java:3715)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:926)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

    This tutorial page for JNI API describes how and where Java looks for the dynamic libraries:
    http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/_library.html
    And this is the home page of Java Native Interface (JNI) API:
    http://java.sun.com/j2se/1.4/docs/guide/jni/index.html
    I have tried putting my executable jar in the same folder as
    this dll and including the dll in my path but both to no avail.Again: you mix binary code and JVM byte code. They are loaded
    differently and located differently. classpath means nothing for the binary code.
    "The Win32 VM uses a search path that includes the current directory for the process or one of the directories listed in the PATH environment variable"
    The DLL may be either in the folder where the application (the JRE/JDK) runs, that is where java.exe is, or some other directory on the system PATH (according to the PATH system variable).

  • Cannot make executable jar file for swt application

    hi to all!!! i have started learning swt library and it seems nice to me, but i have one problem, i cannot run my application. The problem is that i cannot make executable jar for it.
    i'm using ecilpse_3.1.2 and have pluggined the visual editor for swt! yesterday i found one topic where was described the process of making the swt executable jar, i followed the instructions in the topic, but didn't resolve my problem, so if anybody knows how to achieve this , please help!!!!!!
    the instructions in the mentioned topic are :
    1. Make sure the SWT jar file is included in the Eclipse project build path
    a. Download the standalone SWT jar file from eclipse.org even if you already have the ones that come with Eclipse. It is called ?swt.jar? and you will package it with the executable JAR. Make sure it is the same version of SWT that you used to make your program.
    b. In Eclipse, import swt.jar via Project Properties::Java Build Path::Libraries::Add External JARs. (Make sure to include the source .zip file). Also make sure to select the swt package in the ?Order and Export? tab.
    c. At this point, you should be able to compile and run your SWT application in the Eclipse SDK.
    2. Do a standard Eclipse jar file export
    a. Right click on the main .java project file and select ?Export??.
    b. Choose ?JAR File? from the list.
    c. Select the relevant packages and .classpath and .project resource files
    d. Make sure ?Export generated class files and resources? is selected and browse to the location where you want the JAR file to be created.
    e. Specify ?Generate the manifest file? and don?t seal the JAR or any packages. Choose the class containing the main method as the ?Main class?.
    3. Change the manifest file
    a. Navigate to the JAR file you created and open it with WinZip.
    b. Open the MANIFEST.MF file inside and copy the contents.
    c. Create a new file called ?MANIFEST.MF? and paste in the contents of the old manifest file.
    d. Add the line ?Class-Path: <swt jar file path>?. For simplicity, you can just keep a copy of the swt.jar file in the same folder as the executable jar, in which case, the line is ?Class-Path: swt.jar?. Make sure there is a carriage return after the last line in the manifest file, or that line will not be parsed.
    4. Replace the manifest file
    a. Make sure the manifest file and the executable jar are in the same folder.
    b. Open the command prompt and navigate to the containing folder.
    c. Enter the command ?jar umf MANIFEST.MF <executable jar name>? to update the manifest file with the class path information.
    5. Package the JAR with SWT files
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows.
    b. The JAR file should now successfully execute. On Windows, you can usually just double click the JAR file in explorer and it will open. If that does not work, the command ?java ?jar <executable jar name>? on the command line has the same effect.
    but a few steps aren't exact for me , for example : first, which jar i have to include in build path : downloaded or from plugins folder, second
    i have to incude source.zip too??? but it is only in downloaded zip file which includes both swt.jar and src.zip, and finally can anyone clarify next :
    "5. Package the JAR with SWT files
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows."
    what does this mean, put these in folder or make jar from them????

    wolve634 wrote:
    but a few steps aren't exact for me , for example : first, which jar i have to include in build path : downloaded or from plugins folder, secondTry it both ways. If neither works, then ask again. In a suitable forum, though. An Eclipse forum or an SWT forum or something related to where you got those instructions would make a lot more sense than asking here.
    i have to incude source.zip too???No, of course you don't have to distribute the source code.
    a. Put the updated executable JAR file, swt.jar, and the associate DLL in the same folder. The DLL can be pulled out of swt.jar and should have a name like ?swt-win32-####.dll? on Windows."
    what does this mean, put these in folder or make jar from them????It says "Put (them) in the same folder". You're asking whether that means to put them in a folder? Yes, it does.

  • How to use external libraries jar files in the composite application?

    Hi,
    I have some external jars files (which consists of java classes) that I would like to use in my composite application. 
    I have created a DC with type as external library for the jars.  However, I don't know how to specify the DC to be used in my caf application.
    Can anyone help?
    Thanks.
    Regards,
    Fui Voon

    Hi,
    My jar files consists only java classes and a manifest.mf. The files are compiled using jdk 1.4.2-b28.  Will this be any issue?
    It seems that if I ignore the error and continue step 7 which is to do deployment of the ear, the error given is
    Cannot update it.
    Caused by: com.sap.engine.library.bytecode.cf.CFException: Invalid constant pool tag, 60 at index 41.
    Does anyone know what that mean?
    Is there any sample that teach how to deploy external libraries as bundled library?
    Thanks.
    Regards,
    Fui Voon

  • Java.lang.UnsatisfiedLinkError: when called from a jar file

    I have a class that calls a custom dll file. If I dont package the class files and set my system PATH to the location of the DLL then the VM is able to find the dll and load it successfully.
    However, when I package the class files into a jar file, I get "java.lang.UnsatisfiedLinkError: NetworkAdapters" eventhough the system PATH is set to the correct location.
    I have also tried to packaging the dll with the class files but this has not made any difference.
    Library is called from Java as follows:
    static {
    System.loadLibrary("NetworkAdapters");
    When packaged the classes files exist in the following sub directories com\instem\hci\adapters
    Any help appreciated.

    Is it an executable Jar file?
    The the DLL needs to sit in the same folders as the Jar itself.
    (works for us).

  • How to define new classpath of libraries while making jar files with ant

    I am useing eclipse and ant and trying to make a jar file. I have used some external jar files. I have managed to add external jar files to my jar. But Still I have a problem. In my project all libraries in lib folder. But when I put them into jar file. They are in the root folder.Classpath has changed and It couldn't find the class path.
    Is there any body knows how to define a new class path for external libraries with ANT. or How can I put my libraries into a lib folder in jar ?? I think both of them would solve my problem.
    thanks in advance.
    My code is like that, I think it requires a little modification
    <target name="jar">
            <mkdir dir="build/jar"/>         
            <jar destfile="build/jar/Deneme.jar" basedir="build/classes" >             
                <manifest>
                    <attribute name="Main-Class" value="${main-class}"/>                    
                </manifest>             
                 <fileset  dir="${lib.dir}" includes="**/*.jar"/>           
            </jar>
        </target>

    I can see why your other "question" was likely deleted. You need to drop the editorial comments and just ask a question. I believe what you want to know is how to configure something using php on your Apache server so that it can be read. If that's your question, here's a couple of places that discuss the topic:
    http://www.webmasterworld.com/linux/3345459.htm
    http://forums.macrumors.com/showthread.php?t=427742
    http://en.allexperts.com/q/PHP5-3508/configuring-installing-permissions.htm
    For a general introduction to 'nix permissions, take a look at this:
    http://www.osxfaq.com/Tutorials/LearningCenter/UnixTutorials/ManagingPermissions /index.ws
    And here's a whole book on the subject of Leopard permissions:
    http://my.safaribooksonline.com/9780321579331
    Try doing a Google search on "leopard permissions php apache" and see if you find what you are looking for.
    Francine
    Francine
    Schwieder

  • ServiceBus java callout - how to pack the JAR file with libraries?

    Hello
    I want to use a Java Callout from a Service Bus flow.
    What is the correct way to pack the JAR file with its nessecary libraries?
    I tried different methods to pack my JAR, but yet, as though the Java runs perfectly from the Workshop (Eclipse) , when I am trying to use the exported Jar on the ServiceBus flow, it fails with an ClassNotFoundException.
    I would really appreciate your advice here.
    Thanks
    Koby

    Well.. Looking inside my exported JAR file, I got all of the files there inside, including the jar file containing the library.
    What I'm trying to do is run a simple java program that connect through SSH and therefore use an SSH library.
    On the workshop I got it as an imported library JAR. And it works perfectly there.
    Any idea?
    Here's the complete error I get:
    <BEA-382515> <Callout to java method "public static java.lang.String sshpackage.SshProg.remoteScriptInvoke(java.lang.String,java.lang.String,java.lang.String,java.lang.String)" resulted in exception: null
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at stages.transform.runtime.JavaCalloutRuntimeStep$1.run(JavaCalloutRuntimeStep.java:158)
    Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: ch/ethz/ssh2/Connection
    at sshpackage.SshProg.remoteScriptInvoke(SshProg.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: ch.ethz.ssh2.Connection
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at com.bea.wli.sb.resources.archive.HookedJarClassLoader.loadClass(HookedJarClassLoader.java:251)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    Edited by: kobyssh on 04:12 01/02/2010

  • Exporting a jar file with its libraries

    Hi there,
    I have problem while exporting jar files with Eclipse.My program uses db2driver libraries and i want to make stay these library files while exporting the main program but there is no choice to make it like that. And when i execute my program jar file it throws a class not found exception for db2drivers ...
    How can i pack the jar files with my program jar?
    Thanks for help.

    Hi Peter,
    I made the changes but still got the problem...
    here is my .classpath file:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry exported="true" kind="lib" path="db2jcc_license_cu.jar"/>
    <classpathentry exported="true" kind="lib" path="db2jcc.jar"/>
    <classpathentry kind="output" path="bin"/>
    </classpath>
    when i execute my jar file it throws a ClassNotFoundExeption for DB2Drivers which are in db2jcc.jar ...(my startng class is at src package)
    Thanks..

  • Deploying a project to a JAR file with user libraries

    Hello,
    I wonder how I could deploy my application to a JAR file which would include some libraries that are used by my classes.
    The default behavior is not including that libraries, altough the jar is runnable because it finds the libraries (which path have been set in the project properties panel).
    Any advice ?
    Thanks,
    Olivier

    Add the library Jar files to the application Jar file after deploying the application to the Jar file.

  • Jar file of org.eclipse.swt.ole.win32.OLE

    Hi,
    Can anyone provide me the jar file for org.eclipse.swt.ole.win32.OLE.
    or can let me know where I will get it..
    Thanks in advanced,
    Sang

    hello ritu...
    you would require standard-1.1.2.jar .....
    try with that....
    u can download it from -
    http://www.java2s.com/Code/Jar/CatalogJar.htm
    classes contained in standard-1.1.2.jar -
    org.apache.taglibs.standard.tag.el.core.OutTag.class
    org.apache.taglibs.standard.tag.el.core.ParamTag.class
    org.apache.taglibs.standard.tag.el.core.RedirectTag.class
    org.apache.taglibs.standard.tag.el.core.SetTag.class
    org.apache.taglibs.standard.tag.el.core.UrlTag.class
    org.apache.taglibs.standard.tag.el.core.WhenTag.class
    org.apache.taglibs.standard.tag.el.fmt.BundleTag.class
    org.apache.taglibs.standard.tag.el.fmt.FormatDateTag.class
    org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag.class
    regards
    vamsi

Maybe you are looking for