URGENT ! Forms (jar file vs directory and classes)

Hi,
Our java developper has made an applet that we have to integrate with Forms.
I said that I need a jar file that I will put in the forms90/java directory.
The java developper want's to deploy instead of a jar file the whole directory and sub directory and all classes under the forms90/java.
My question is, are both deployement giving the same result in term of performance on the client side when downloading the classes or the jar file.
I always tought that jar file was better in performance.
What is the best way to deploy our applet?
Thanks for quick answer.
Jean-Yves

If you choose jar file client JVM will probably cache your jar. This will increase speed of application loading.
Another benefit is that when you use jar file there is lazy/on demand loading option available (in my experience on demand loading doesn't work out of the box - jar file and all referenced jar files must be indexed). In other words: users that don't use forms that use your applet will not download that jar file (I have used this for FormsGraph example and some custom java application) and they don't have to download all of the jars your jar file references.

Similar Messages

  • How do you create a jar file with txt and classes?

    Hey, I'm trying to create code to create a jar file with a text file, but I can't figure out how to add the text file. Here is what I have so far:
    try {
                // Name of jar file to write
                String archiveFile = "test.jar";
                Manifest jman = new Manifest();
                try {
                    // Create a manifest from a file
                    //InputStream fis = new FileInputStream("manifestfile");
                    //Manifest manifest = new Manifest(fis);
                    // Construct a string version of a manifest
                    StringBuffer sbuf = new StringBuffer();
                    sbuf.append("Manifest-Version: 1.0\n");
                    sbuf.append("Ant-Version: Apache Ant 1.7.1\n");
                    sbuf.append("Created-By: 1.5.0_19-137 (Apple Inc.)\n");
                    sbuf.append("Main-Class: Main\n");
                    sbuf.append("Class-Path: lib/swing-layout-1.0.3.jar\n");
                    sbuf.append("X-COMMENT: Main-Class will be added automatically by build\n");
                    // Convert the string to a input stream
                    InputStream is = new ByteArrayInputStream(sbuf.toString().getBytes("UTF-8"));
                    // Create the manifest
                    jman = new Manifest(is);
                } catch (IOException e) {
                FileOutputStream stream = new FileOutputStream(archiveFile, true);// archive file is jar file name
                JarOutputStream out = new JarOutputStream(stream, jman);
                out.putNextEntry(new JarEntry("test.txt"));
                out.closeEntry();
                out.close();
            } catch (Exception ex) {
            }It creates the .jar file with the correct manifest but I can't get it to write the test.txt or anything else into the jar file.
    -Gandolf
    Edited by: GanMatt on Jun 18, 2009 8:18 AM
    Edited by: GanMatt on Jun 18, 2009 8:19 AM

    Alright, my question has changed. Here's the code:
    try {
                // Name of jar file to write
                String archiveFile = "test.jar";
                Manifest jman = new Manifest();
                try {
                    // Create a manifest from a file
                    //InputStream fis = new FileInputStream("manifestfile");
                    //Manifest manifest = new Manifest(fis);
                    // Construct a string version of a manifest
                    StringBuffer sbuf = new StringBuffer();
                    sbuf.append("Manifest-Version: 1.0\n");
                    sbuf.append("Ant-Version: Apache Ant 1.7.1\n");
                    sbuf.append("Created-By: 1.5.0_19-137 (Apple Inc.)\n");
                    sbuf.append("Main-Class: Main\n");
                    sbuf.append("Class-Path: lib/swing-layout-1.0.3.jar\n");
                    sbuf.append("X-COMMENT: Main-Class will be added automatically by build\n");
                    // Convert the string to a input stream
                    InputStream is = new ByteArrayInputStream(sbuf.toString().getBytes("UTF-8"));
                    // Create the manifest
                    jman = new Manifest(is);
                } catch (IOException e) {
                FileOutputStream stream = new FileOutputStream(archiveFile, true);// archive file is jar file name
                JarOutputStream out = new JarOutputStream(stream, jman);
                out.putNextEntry(new JarEntry("test.txt"));
                out.write("Hi".getBytes());
                out.flush();
                out.closeEntry();
                out.close();
            } catch (Exception ex) {
                JOptionPane.showMessageDialog(this,ex.toString(),"BUG!",JOptionPane.INFORMATION_MESSAGE);
            }It creates the jar file with the txt file inside it, but I can't write "Hi" inside of the text file. Any ideas?
    -Gandolf

  • Missing com.crystaldecisions.sdk.framework directory and classes

    Hello,
    I installed crystal report server 2008 and Iu2019m missing the directory and classes in "com.crystaldecisions.sdk.framework" on the webreporting.jar package. Does anyone know why? Or does anyone know where I can get the complete webreporting.jar package. I extracted all the files from the webreporting.jar file this is why I know this. Thanks

    If you don't first refer to the BusinessObjects Enterprise Java SDK Developer Guide available on this page:
    [http://www.sdn.sap.com/irj/boc/sdklibrary]
    for the required jar files, then you're essentially flying blind into a hurricane with fuel gauge on empty.
    Sincerely,
    Ted Ueda

  • Help finding JAR files containing a specific class

    I Need to find the JAR file containing the java class/type com.sap.engine.frame.ServiceException
    <i><b>Frank</b></i>

    Hi Frank,
    The easiest solution will be searching for class names in Windows search like: Search for files *.jar and contains text xyz.class.
    If you find a particular jar then open it using WinZip and you can locate the class file.
    Regards,
    Ananth

  • Getting file from directory where class files are

    hi i want to load a properties file from the directory where my java program is (the class/jar files)
    somebody told me that i could use System.getProperty("user.dir"); but it would only work under windows; under linux it points elsewhere.
    how can i determine the directory where my program lies? sounds easy but i failed :(

    why to hell put it in the classpath? Because that way you don't have to ask the user where the hell he put the file.
    and if i would do so the next question: how can my
    program modify the classpath?It can't. And it doesn't need to.
    isn't there another way to determine the directory
    where the app is started from???If you mean the current, or working, directory, then yes there are several ways to determine that. But that directory need not be where the classes are actually stored. In fact the current directory doesn't even have to be in the classpath.
    Now, here's the best way to deal with properties files. (IMHO of course.) Put them in the classpath, in the same directory or jar file as your classes. Then to create a Properties object and load it from your properties file named e.g. "default.properties" you do this:Properties props = new Properties();
    props.load(this.getClass().getResourceAsStream("/default.properties"));

  • Access jar file from in-memory classes...

    I have some classes that I compile to memory and everything works fine until one class that must access some external jar files. I have been unable to access those jar files from disk after trying every suggestion using URLClassLoader. I even tried someone's example to hack the SystemClassLoader which properly adds the jar file paths, but still they can't be seen. The only way it works is if I put the files in the jdk/jre/lib/ext directory. Then everything works fine. There must be a way to load the jar files in memory as well as the class files so they can be accessible. Has anyone done anything like this? Is it possible? Even though the class files are in memory, why would the jar files not be seen even when they are added to the same URLClassLoader's URL's. Thanks.

    Sorry that wasn't clear. What I mean is that the classes are compiled to byte code directly to memory and no physical .class file is created. Yes, I'm using my own ClassLoader that extends URLClassLoader and I'm setting the parent to ClassLoader.getSystemClassLoader(). I also should mention that I'm doing this inside a Netbeans module that is part of a Netbeans Platform application. I don't know why that should matter though, since I'm trying to do everything in memory without creating the physical files. Thanks.

  • Application in JAR file cant find JDBC classes

    Hi,
    When I run an application from the JAR file the ClassNotFound exception is throw! When I run from the application classes in the directory the program works. The JDBC classes are in the CLASSPATH, the manifest of JAR file is:
    Manifest-Version: 1.0
    Created-By: xxxxx
    Main-Class: com.xxx.jhdesk.JHelpDesk
    Class-Path: classes111.jar JdbcDomino.jar
    I tried to put "class-path" parameter in the manifest but the problem continues.
    I need to send only my jar file, and the JDBC classes would be anywhere at the client machine.
    Any hint will be appreciated!
    Thanks in advance!
    Daniel Carvalho

    Those two jar files in the Class-Path entry in the manifest file, are they in the same directory as the jar file? (What you put there is supposed to be relative to the jar file, and you have no directory information.) And is there a line-ending character at the end of that line?

  • Jar file with JRE and lib's

    I'd like to create a jar file that also contains the JRE that I want to use as well as some libraries I'm using. Is that possible?
    I have created in the past a batch file that points to an specific JRE that I package with my classes in a directory. But this time I'd like to package it in the jar file as well.
    Thanks!

    I'd like to create a jar file that also contains the
    JRE that I want to use as well as some libraries I'm
    using. Is that possible?Not and run that JRE. You have to extract it from the jar and put it in a directory. On Windows, this will allow you to run only Java applications from the commandline (not applets or anything associated with a browser).
    I have created in the past a batch file that points
    to an specific JRE that I package with my classes in
    a directory. But this time I'd like to package it in
    the jar file as well.
    Thanks!

  • URGENT: New JAR file NOT being pushed to web clients.

    Greetings...
    When our web app first came to market, some of our customers were still using a dial-up connection. Therefore, since one of our web pages uses an applet, it was decided to ship the necessary JAR files to clients on an installation CD, rather than burden our dialup customer with having the JAR files pushed out to them over the line. The jar files are installed in the C:\Program Files\JavaSoft\JRE\1.3\lib\ext directory on the client computers.
    Don't ask why, but we are now attempting to have our web site push out a new JAR file to just one of our clients, but the problem I'm running into is that if the OLD jar file already exists in the C:\Program Files\JavaSoft\JRE\1.3\lib\ext directory, the NEW jar file isn't pushed out by the website. My understanding was that the system would automatically detect if the JAR file on the client was older than the JAR file on the server and would then push the newer JAR file out to the client, but obviously, I'm missing something.
    Any help/suggestions you can provide would be greatly appreciated. Following is the kludgy ASP code for this...
    <%szCustomer = getCustomer();%>
    <%if (szCustomer="SccTest") {%>
    <!-- NEW CODE: Push out the NEW JAR file with the meters to feet change. -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="600" height="400" name="SccMapplet"
    codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0" ID="IMSMap" VIEWASTEXT>
    <PARAM NAME="code" VALUE="com.scc.mapplet.SccMapplet">
    <param name="archive" value="SccMapplet.jar,xml.jar,iiimp.jar,jai_codec.jar,jai_core.jar,mlibwrapper_jai.jar">
    <PARAM NAME="scriptable" VALUE="true">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="WebAXL" VALUE="/EweData/<%=getCustomer()%>.axl">
    <PARAM NAME="Session" VALUE="<%=SCCSession.SessionID%>">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3" width="600" height="400"
    code="com.scc.mapplet.SccMapplet" archive="SccMapplet.jar,xml.jar,iiimp.jar,jai_codec.jar,jai_core.jar,mlibwrapper_jai.jar"
    pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!
    </NOEMBED></EMBED>
    </OBJECT>
    <%} else {%>
    <!-- OLD CODE: Use the JAR file already installed on C:\Program Files\JavaSoft\JRE\1.3\lib\ext -->
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width=600 height=400 ID="IMSMap" name="SccMapplet" VIEWASTEXT>
    <param NAME="code" VALUE="com/scc/mapplet/SccMapplet">
    <param NAME="name" VALUE="IMSMap">
    <param NAME="SCRIPTABLE" VALUE="TRUE">
    <param NAME="type" VALUE="application/x-java-applet;version=1.2">
    <PARAM NAME="WebAXL" VALUE="/EweData/<%=getCustomer()%>.axl">
    <PARAM NAME="Session" VALUE="<%=SCCSession.SessionID%>">
    <comment>
    <embed type="application/x-java-applet;version=1.2" width="600" height="480" code="com/esri/ae/applet/IMSMap" name="IMSMap">
    <noembed>
    </COMMENT>
    No JDK 1.2 support for APPLET!!
    </noembed></embed>
    </object>
    <%}%>

    I guess the problem is, that your local jar file's classes copied to the JRE's ext directory have higher priority. The JRE does not store your applet jar locally and so does not overwrite anything you may have installed, it only executes the jar file given by the browser which may cache it or not.
    Why don't you use the Java Webstart technolgy? It's pretty simple to use it. Customers would have to download every new jar version only once and Webstart will take care that the local version is up-to-date every time your app is started.

  • Help! How to create Jar file for a packaged class?

    Hi!
    I am new in jar complexities. I made a swing frame that just prompts a JOptionPane when executed. I accomplished the same using jar without packaging my class SwingTest.
    But when i package it, it doesn't run. Can any one tell me how to make jar file of packaged classes and include images in the jar files too!
    Really Thanx!

    Call the Jar from the commandline to see the exceptions thrown.
    java -jar <jarFileName> <className>

  • How to make .jar file for a multiple class program

    I have a code for a chat room that contains two folders , one for Server and one for Client
    What I need is to create a jar file for the server and a jar file for the clients
    but here the first problem , I have a file that named (SocketMessengerConstants.class) that is located outside the two folders and is being read by the two projects .
    I mean the server uses it while running and the client uses it too .
    the second problem is : I don't know how to create a jar file at all !
    please tell me how to do it in detail
    Thank you

    ChuckBing wrote:[Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
    I tried to read this tutorials before I come here but I couldn't understand it
    can you please tell me a specific steps to follow instead of the explaining .. because I understand the explanation but I can't apply it

  • Regenerate Jar files on apps and DB tier at same time?

    The process of regenerating product jar files takes about 30 minutes on each tier (apps tier has forms and web server while DB tier has Database, concurrent manager). Can i regenerate on bot tiers simultaneously via adadmin?
    Thanks

    from node 1
    Generate Applications Files
    1. Generate message files
    2. Generate form files
    3. Generate report files
    4. Generate graphics files
    5. Generate product JAR files
    6. Return to Main Menu
    Enter your choice [6] : 1
    AD utilities can support a maximum of 999 workers. Your
    current database configuration supports a maximum of 117 workers.
    Oracle recommends that you use between 16 and 32 workers.
    Enter the number of workers [16] :
    Your current character set is "WE8ISO8859P1".
    Do you want to generate Oracle Message files
    using this character set [Yes] ?
    Enter list of products ('all' for all products) [all] :
    The current set of installed languages is: US
    Please select languages for generating Oracle Message files.
    You may select all of the above languages, or just a subset.
    Enter list of languages ('all' for all of the above) [all] :
    You selected the following languages: US
    Is this the correct set of languages [Yes] ?
    Setting up environment...
    Generating message files...
    Creating FND_INSTALL_PROCESSES table...
    The table FND_INSTALL_PROCESSES created by AD Administration already exists.
    If you are sure you do not want to keep the information from the failed
    AD Administration session,you may drop FND_INSTALL_PROCESSES table and
    continue with AD Administration.
    If you choose not to drop FND_INSTALL_PROCESSES table, AD Administration
    cannot continue successfully.
    Drop FND_INSTALL_PROCESSES table [No] ?
    from node 2:
    Generate Applications Files
    1. Generate message files
    2. Generate form files
    3. Generate report files
    4. Generate graphics files
    5. Generate product JAR files
    6. Return to Main Menu
    Enter your choice [6] : 1
    AD utilities can support a maximum of 999 workers. Your
    current database configuration supports a maximum of 117 workers.
    Oracle recommends that you use between 16 and 32 workers.
    Enter the number of workers [16] :
    Your current character set is "WE8ISO8859P1".
    Do you want to generate Oracle Message files
    using this character set [Yes] ?
    Enter list of products ('all' for all products) [all] :
    The current set of installed languages is: US
    Please select languages for generating Oracle Message files.
    You may select all of the above languages, or just a subset.
    Enter list of languages ('all' for all of the above) [all] :
    You selected the following languages: US
    Is this the correct set of languages [Yes] ?
    Setting up environment...
    Generating message files...
    Creating FND_INSTALL_PROCESSES table...
    The table FND_INSTALL_PROCESSES created by AD Administration already exists.
    If you are sure you do not want to keep the information from the failed
    AD Administration session,you may drop FND_INSTALL_PROCESSES table and
    continue with AD Administration.
    If you choose not to drop FND_INSTALL_PROCESSES table, AD Administration
    cannot continue successfully.
    Drop FND_INSTALL_PROCESSES table [No] ? yes
    Dropping FND_INSTALL_PROCESSES table...
    FND_INSTALL_PROCESSES table dropped.
    Dropping AD_DEFERRED_JOBS table...
    AD_DEFERRED_JOBS table dropped.
    Writing dependencies of jobs to run to appldep.txt file...
    There are now 59 jobs remaining (current phase=admin):
    0 running, 59 ready to run and 0 waiting.
    Reading completed jobs from restart file (if any).
    There are now 59 jobs remaining (current phase=admin):
    0 running, 59 ready to run and 0 waiting.
    Starting worker processes.
    Worker process 1 started.
    Worker process 2 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 3 started.
    Worker process 4 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 5 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 6 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 7 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 8 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 9 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 10 started.
    Worker process 11 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 12 started.
    Worker process 13 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 14 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 15 started.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Worker process 16 started.
    Checking if all jobs have their actual and symbolic arguments in sync....
    Done.
    Writing jobs to run to restart file.
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Reading jobs from FND_INSTALL_PROCESSES table ...
    ************* Start of AD Worker session *************
    AD Worker version: 11.5.0
    AD Worker started at: Sat Jan 08 2011 17:28:07
    APPL_TOP is set to /u15/tec2/appl
    Done reading jobs from FND_INSTALL_PROCESSES table ...
    Telling workers to read 'todo' restart file.
    Done.
    Starting phase 1000 (admin): Administration
    There are now 59 jobs remaining (current phase=admin):
    0 running, 59 ready to run and 0 waiting.

  • JAR files for SQLJ and JDBC drivers: what is the best practice?

    starting a migration from IAS 10 to WebLogic 11g.
    Apparently the jar files for SQLJ are not on the classpath by default.
    java.lang.NoClassDefFoundError: sqlj/runtime/ref/DefaultContextwhich is the better practice: putting the SQLJ runtime jar into the lib subdirectory of the domain directory, or using a shared library reference? (usage of SQLJ is pretty prevalent in our apps, though we may be getting away from it)
    are the Oracle JDBC drivers on the classpath by default?
    if not, then the same question: put them into the lib subdirectory of the domain directory, or use a shared library reference?

    I'm looking at the setDomainEnv, especially the big note at the top:
    >
    # WARNING: This file is created by the Configuration Wizard.
    # Any changes to this script may be lost when adding extensions to this configuration.
    >
    and am getting squeamish about editing it...
    http://www.bea-weblogic.com/how-do-i-disable-wls-automatically-adding-to-classpath.html looks like the default behaviour is for WebLogic to put $DOMAIN/lib;$WL_HOME/common/lib/ext;$WL_HOME/server/lib/ext on the classpath; there is also a reference to setting weblogic.ext.dirs= when starting weblogic (which means I set the WEBLOGIC_EXTENSION_DIRS environment variable).
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/libraries.html#wp1067450 also refers at the bottom to using the domain /lib subdirectory.
    so am I correct that a good practice is to just put the jars I think I will globally need into $DOMAIN/lib, rather than putting them in $WL_HOME/common/lib/ext, $WL_HOME/server/lib/ext, or fiddling with the WEBLOGIC_EXTENSION_DIRS environment variable?
    Edited by: user8652010 on Feb 10, 2011 1:08 PM

  • How to read a files in directory and its subdirectories

    I wants to read all files in directory, its subdirectory and further till end the files in the subdirectory of subdirectories.
    I have some idea the I can do this by using recursive function, using the functions isDirectory(), File.list() etc.
    How much you can please help me. (via code of logic)

    import java.io.*;
    import java.net.*;
    public class MyCon
    public static void main(String args[]) throws
    IOException
    File file=new File("c:/");
    openDirectory(file,"");
    System.in.read();
    static void openDirectory(File file,String indent)
    String[] string=file.list();
    String path=file.getAbsolutePath();
    for(int i=0;i<string.length;i++)
    File temp=new File(path+"/"+string);
    if(temp.isDirectory())
    openDirectory(temp,indent+" ");
    else
    System.out.println(indent+temp.getName());

  • How to reference JAR files in stored java class ?

    I don't know if it's exactly the right place to post this, I hope it could be :-)
    Here is the problem :
    I developped a Java class with some public static functions.
    To store this class in Oracle, I use the SQL below :
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "SYSTEM"."MYCLASS" AS
    // ... (Java source code) ...
    This works pretty well with simple functions, but we need to import specific class. Here is for MQSeries : import com.ibm.mq.*;
    When using the SQL to put the Java class, we get an error message saying that the class wasn't correctly compiled. It seems it's about the import.
    The question is : how to proceed to reference the JAR files needed so that my class can correctly import the needed packages ?
    Thanks in advance,

    Here is a simple example of code :
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "SYSTEM"."TEST" AS
    import com.ibm.mq.*;
    public class Test {
    public Test() {
    try{
    MQQueueManager manager = new MQQueueManager("");
    catch(Exception e){
    In this way, I get message "Warning : Java create with compilation errors".
    When I comment the line of the MQQueueManager object creation, it is well created.
    Any ideas ?

Maybe you are looking for

  • How do you apply a master page to multiple documents at the same time?

    How do you apply a master page to multiple documents at the same time?

  • STB Clock Display Freezes

    I have two Motorola FiOS Set Top Boxes, a standard definition model and a HD model.  The FiOS service has been operational since 2009 without any problems.  On 03/16/12, I noticed that the standard STB clock was frozen at 03:02 on a Thursday morning.

  • Itunes could not detect in windows 8

    Hi,  I just bought a new laptop using windows 8. I install the latest version of itunes and i have updated my ipad to IOS7.02 but when i connect to itunes, it goes connected and disconnected as you can see that in itunes. It always shows "An Ipad has

  • Automatic composition of web services

    Hi, As we all know human involvement in composition of web services makes them time-consuming and error prone. So, do we have the concept of Automatic service composition in Netweaver Composite environment, where we could automatically or semi automa

  • Despotify and gstreamer[SOLVED]

    Hello. I don't get any sound from despotify. I guess that it has something to do with gstreamer. I'm running kde 4.2 and alsa. Anyone that have an idea? Last edited by jai134 (2009-03-24 07:30:30)