Trouble compiling with JWS 2.0

Hello,
I have a servlet written with JDeveloper that compiles and runs fine with JDeveloper. I am attempting to get it to run using Sun's Java Web Server 2.0. Other servlets run in JWS by just copying the class file to the JWS servlet directory.
I figured I would just ask for general ideas before I get into specifics. Anything leap to mind?
I already looked thru: http://www.sun.com/software/jwebserver/faq/index.html and tried a few things (seems to be nothing wrong with Classpath).
Thanks,
Dan Kenny

Hello,
I have a servlet written with JDeveloper that compiles and runs fine with JDeveloper. I am attempting to get it to run using Sun's Java Web Server 2.0. Other servlets run in JWS by just copying the class file to the JWS servlet directory.
I figured I would just ask for general ideas before I get into specifics. Anything leap to mind?
I already looked thru: http://www.sun.com/software/jwebserver/faq/index.html and tried a few things (seems to be nothing wrong with Classpath).
Thanks,
Dan Kenny

Similar Messages

  • Sending "Cookie" header  with JRE 1.5.0_07 doesn't work with JWS

    Hi
    I have a JWS application that runs from JRE 1.4.0_XX to JRE 1.5.0_06
    The app sends a "Cookie" header to our webserver
    HttpURLConnection tc = (HttpURLConnection)repository.openConnection();
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    Now this has worked thru 20 different runtime versions since 1.4.0_xx until JRE 1.5.0_07 was released. My code has remained unchanged for 3 years. And with JRE 1.5.0_07 the "Cookie" header is simply gone in the webserver or never sent at all. The changelog for 1.5.0_07 only has a rough description of what has changed. I can see that SUN has made som changes to class HttpUrlConnection in 1.5.0_07 by comparing class files against 1.5.0_06 and apparently disturbed som funtionality that worked before. Other headers are received but not the "Cookie" header. If the application is executed without JWS, for example with Eclipse or Jbuilder, the "Cookie" header is received by the web server and all other headers as well.
    Any ideas what SUN has done in 1.5.0_07 and JWS ?? and more specifically in class URLConnection or HttpURLConnection.
    Here is some code example to test the issue:
    Run this code with and without Java Web Start
    With JWS, the "Cookie" header is never received by the server.
    without JWS, the header value is reveived.
    import java.net.*;
    import java.io.*;
    public class HTTPTest
    public static byte[] crLfArr = {13,10};
    public static String contenttype_ = "text/plain";
    public static BufferedReader retval = null;
    public static void main(String[] args) throws IOException
    int tecken = (int)'X';
    String boundary = "12345xyzzy";
    URL repository = new URL("http://myserver");
    URLConnection tc = (URLConnection)repository.openConnection();
    tc.setDoOutput(true);
    tc.setDoInput(true);
    tc.setAllowUserInteraction(false);
    tc.setRequestProperty("Content-Type"," multipart/form-data; boundary=" + boundary);
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    OutputStream out = tc.getOutputStream();
    printPartHeader(out, boundary, "filtag" , "filnamn");
    out.write(tecken);
    printEndBoundary(out,boundary);
    out.close();
    retval = new BufferedReader(new InputStreamReader(tc.getInputStream()));
    public static void printEndBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary + "--";
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printPartHeader(OutputStream out,
    String boundary,
    String field,
    String filename) throws IOException
    String str;
    printBoundary(out,boundary);
    str = "Content-Disposition: form-data; name=\"" + field + "\"";
    out.write(str.getBytes());
    if (filename.length() > 0) {
    str = "; filename=\"" + filename + "\"";
    out.write(str.getBytes());
    out.write(crLfArr);
    str = "Content-Type: " + contenttype_;
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary;
    out.write(str.getBytes());
    out.write(crLfArr);
    Regards
    Jojje

    Hi,
    I decompiled the HttpURLConnection implementation in question from the rt.jar file. I do not think that you can find the source code for these SUN-specific implementations anywhere (except maybe through the new Java 6.0 collaboration process).
    JAD did the trick.
    For the standard classes (packages java.*, javax.*), I think that the most current source code is included in the corresponding JDK download.
    As to the JWS vs. standalone effect, I do not know what happens there.
    Maybe Java uses a different HttpURLConnection implementation when running as a standalone application?
    For our applet, the problem is definitely there. The cookie header was set but already removed when the CookieHandler method was called.
    The trouble is, that our applet can operate multiple independent sessions (with different session-ids), so a global CookieHandler is not an option. The only reason why I previously had to implement my own CookieHandler implementation in 1.5 was in order to remove unwanted Cookies which were otherwise inherited from the browser session by the CookieHandler�s applet default implementation.
    I also entered a bug report (on Wednesday already)...
    regards,
    Gunnar

  • Trouble compiling for printed documentation

    hello, i am having trouble compiling a new document layout i
    have created, i have followed peter grainges instructions on his
    website but it always fails to generate straight away. Im using
    Robohelp x5 with word 2000, does anyone have any ideas?
    thanks steve

    Steve
    Was RH installed on the PC you are using with you logon or
    that of the person whose job you have taken over? It sounds very
    much like the latter and this is exactly what I would expect to
    happen.
    Try creating a new project with just a couple of topics and
    printing from that. It will likely also fail. If it does that
    pretty much confirms my theory. Uninstall and reinstall RH with
    your logon and with admin rights attached and the problem will
    likely go away.

  • Trouble compiling a library

    Hi folks, I'm experiencing a trouble using forms & reports on two different platforms: Win XP Prof. SP2 for development and SuSe Ent. 9 Linux for deployment.
    I've inherited from another person an application with some forms, some reports and two libraries (one attached to the forms annd the other attacched to the reports).
    I've modified a function in the library attacched to the reports. It compiles ok on XP.
    Moved the library (.pll file) to Suse I tried to compile with:
    #!/bin/sh
    PATH_SAVE=$PWD
    ORACLE_HOME=/opt/oracle/app/oracle/product/frs10.1.2
    export ORACLE_HOME
    FORMS_PATH=/opt/csa/sw/webapp/FORMS:/opt/csa/sw/webapp/CSA_LIBS
    export FORMS_PATH
    REPORTS_PATH=/opt/csa/sw/webapp/REPORTS:/opt/csa/sw/webapp/CSA_LIBS
    export REPORTS_PATH
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    TWO_TASK=csa_v30/csa_v30@csa5i009
    export TWO_TASK
    ORACLE_SID=csa5i009
    export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib
    export LD_LIBRARY_PATH
    ORACLE_TERM=vt220
    export ORACLE_TERM
    # COMPILE LIBRARIES
    cd /opt/csa/sw/webapp/CSA_LIBS
    $ORACLE_HOME/bin/frmcmp_batch module=LIB_CSA_FORMS.pll userid=csa_v30/csa_v30@csa5i009 module_type=LIBRARY compile_all=YES logon=YES batch=YES
    # COMPILE FORMS and MENUS
    cd /opt/csa/sw/webapp/FORMS
    for file in *.fmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=FORM compile_all=YES logon=YES batch=YES
    done
    for file in *.mmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=MENU compile_all=YES logon=YES batch=YES
    done
    cd $PATH_SAVE
    unset PATH_SAVE
    and obtained:
    PL/SQL ERROR 201 at line 58, coloumn 5
    identifier 'SRW.SET_FOREGROUND_FILL COLOR' must be declared
    FRM-30312: Failed to compile the library
    Some useful data:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    And:
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Any advice will be welcome
    Thanx
    Rob

    This package currently compiles fine with the latest gcc (at least last time I checked), but still I'm having trouble making a package for it because I don't know how to get it to install to a custom location like the $startdir/pkg directory.

  • Launching Multiple Processes With JWS

    Is it possible to launch multiple processes with JWS? I'd like to specify in the jnlp 2 applications to run. Each application must run in its own java.exe process. Why you ask?
    I've created a mission critical application in JWS that requires the application to be active at all times. If the application crashes, the second application detects the crash and restarts the jnlp.
    How can this be accomplished? I'd like to stay away from created another JVM via JNI if possible.

    billmanhillman wrote:
    Invoking javaws from the application URL is not scalable. LOL! When people talk about 'scalable' they are usually referring to numbers of the order of '2000', not '2'.
    To cover something mentioned in another reply..
    Can you get the path to the jar by getResource()?Nope. Sun considers it not to be the business of apps., to know the location of the classes on disk. They have gone to considerable trouble to make it unavailable to applications.

  • Having trouble compiling

    I am a total newbie at programming and I am having trouble compiling. In the MS-DOS prompt, I located the folder where my .java file is located and typed the following:
    javac SampleProgram.java
    I received a "Bad command or file name" error. I am typing the names correctly. I am using Java 2 SDK, Standard Edition Version 1.3.1. Am I doing something wrong?
    Thanks for any help.

    That should fix it. The problem is that DOS needs to know where to find the executable files like javac.exe
    You can either set the path temporarily by typing
    SET PATH=.;c:\jdk1.3.1\bin
    at the command prompt each time you open a command window, or you can set it more permanently by adding it to your startup config. This will depend on your OS. On win 98 for example, there is an AUTOEXEC.BAT (usually with a SET PATH command already present). You could open this in notepad to add/change:
    SET PATH=C:\WINDOWS
    to
    SET PATH=C:\WINDOWS;.;C:\JDK1.3.1\BIN
    Reboot to make the changes take effect. Other OS's may have a special dialog to set this kind of command.
    Hope this helps some.

  • Compiling with classes in seperate directories

    Hey guys,
    I wish to compile my program like this:
    ./program/src <---- for the .java files
    ./program/classes/ <---- for the main class
    ./program/classes/mainLib/ <--- for all other class files.
    Am i right in thinking that this would be a package thing. So i would have to alter the package line in the programs to get this to work?
    So the main class would have:
    package classes;
    and the rest would have:
    package classes.mainLib;
    I'm just having a bit of trouble compiling it successfully.

    So from what i understand. I should compile itfrom
    the source directory using something like this:
    javac -cp ../classes/mainLib -d ../classes *.javaAlmost; the top level classpath is located at
    ../classes; all .class files can be
    found in there or in subdirectories (reflecting the
    package names) thereof.
    You see i want one of my classes to go here:./classes
    That should be a class without a package definition
    then, i.e. the default package.
    And the rest to end up here: ./classes/mainLibOk, they should all have a 'package mainLib;'
    definition at the top.
    I want the compiler to do this automatically.
    Am i right in thinking this is to do with package.
    So if i put this in the file i want to end up onits own:
    package classes;Nope, the ../classes directory was the toplevel
    directory remember? All sub-
    directories under that reflect the package names.
    and then:
    package classes.mainLib; in all the other files itshoudl work. But do i need to
    use any import statements on this?See above: the ../classes directory is the base where
    all your .class files can be
    found. If a class belongs to the default package, it
    can be found directly in this
    directory; any .class file in a package 'X' can be
    found in ../classes/X.
    Just to summarize:
    if you don't put a package definition in your source,
    the .class file should end up
    in the ../classes directory. If you put a 'package
    x;' definition in your source, it
    should end up in the ../classes/x directory. Your
    (-cp) classpath string should
    just point to the ../classes directory, i.e. the base
    where all your .class files can
    be found.
    Thanks a lot for your help.You're welcome and,
    kind regards,
    JosThat was a brilliant description and i fully understand now - thanks!
    I'm trying to do it now. All of my files contain: package mainLib, apart from the one i want to end up in the main class directory. So i try this:
    gary@linuxbox:~/java/cars/src$ javac -d ../classes/ *.java
    ./Storage.java:5: duplicate class: mainLib.Storage
    class Storage { // used to control the data stored externally
    ^
    Cars.java:16: cannot access Storage
    bad class file: ./Storage.java
    file does not contain class Storage
    Please remove or make sure it appears in the correct subdirectory of the classpath.
                    Storage file = new Storage();
                    ^
    2 errorsThat was run from: ./program name/src
    I want the classes to end up in ./program name/classes (where mainLib) is located
    So i then tried:
    gary@linuxbox:~/java/cars$ javac -d ./classes/ src/*.javThat produced A LOT of errors saying it couldn't find the construcutrs from the classes it needed.
    Is it obvious what i am doing wrongly?

  • Problem in compile with JDeveloper

    Compile with JDeveloper failded if the class didn't implement the abstract method of it's super abstract class. But it is ok wiht other IDE(VisualCafe, Eclipse, JBuilder...).
    It seems that JDeveloper is more strict than other IDEs.
    Anyone can tell me how to avoid this error? TIA.

    I've found out the reason.
    JDeveloper will try to compile all the source files the project used even they're not added into the project.
    I have ClassA extend abstract ClassB, and ClassB extend abstract ClassC and implement the abstract methods of ClassC, they can all be compiled. And then I got a wrong source file of classB which didn't has the methods. Maybe I've kept this wrong source file for a long time but didn't get any trouble until I began to use JDeveloper and got the error.
    Since I didn't add ClassB into the project and classB.class didn't changed. So I didn't noticed that a wrong source file caused the problem.
    Thank you! :-)

  • How to find out which PL/SQL Proc is Compiled with Debug?

    Hi,
    is there any View where i can see, which PL/SQL Proc is compiled with the debug flag?
    Thanks
    Marco
    Message was edited by:
    mpatzwah

    Alternatively:
    select name, plsql_debug from sys.all_plsql_object_settings

  • SUNWspro iostream error while compiling with SunStudio 10

    We are getting the following error when we try to compile the C++ code using SunStudio 10 on Sun Solaris Sparc server.
    We made couple of changes in the source code 1) whereever we have stream.h we replaced it with iostream.h and 2) include fstream.h whereever required.
    Can anyone tell us where did it go wrong.
    + /opt/SUNWspro/bin/CC -g -O -DHAWK -mt -lclntsh -lsocket -lnsl -I/export/home/StandardComponents/SC/include -I../../mylib -I../../include -I/opt/SUNWspro/prod/include/CC/Cstd -I. -I- -D_TRACE_ -c collectDborMtoInfo.c
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    4 Error(s) detected.

    Remove the -I directive that points into the compiler installation. You should not have have -I or -L options that point into the compiler installation area, into /usr/include, or into /usr/lib. The CC compiler driver knows where to find system headers and libraries, and in what order to search the directories. If you force a different search order, you can break something.
    If removing -I/opt/SUNWspro/prod/include/CC/Cstd does not fix the problem, compiling with -P or -E will show you the preprocessor output, and looking at the lines with the errors will usually show the source of the problem quickly.
    BTW, you should be aware that the ".h" form of the C++ headers, like <iostream.h> and <fstream.h>, is not standard. Using them is not portable, because not all C++ implementations provide them, and those that do often have different content.

  • Critical Error while compiling with AIR16 (*.ipa export)

    Hey,
    my application crashed while compiling with AIR16. (Flex 4.13.0-AIR 16.0)
    With AIR15 it works well.
    First I thougt, the reason might be the included ANE, but it isnt. The ANE works fine with another project.
    In fact other projects also work with AIR16.
    Any ideas?
    Error message:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "_traits:AOTBuildOutput-0000000101_6:234::Span", referenced from:
          _AOTBuildOutput-0000000101_6:9729:Edge in AOTBuildOutput-0000000101_6.o
      "_traits:AOTBuildOutput-0000000101_6:234::Edge", referenced from:
          _AOTBuildOutput-0000000101_6:9706:flashx.textLayout.compose::Parcel/allocateEdge in AOTBuildOutput-0000000101_6.o
      "_traits:AOTBuildOutput-0000000100_5:18::LocaleID", referenced from:
          _AOTBuildOutput-0000000100_5:265:mx.resources::LocaleSorter$/sortLocalesByPreference in AOTBuildOutput-0000000100_5.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    EDIT:
    I tried it also with Flex 4.14.0-AIR 16.0. Got this message:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "_traits:AOTBuildOutput-0000000101_6:248::Span", referenced from:
          _AOTBuildOutput-0000000101_6:11261:Edge in AOTBuildOutput-0000000101_6_1.o
      "_traits:AOTBuildOutput-0000000101_6:248::Edge", referenced from:
          _AOTBuildOutput-0000000101_6:11238:flashx.textLayout.compose::Parcel/allocateEdge in AOTBuildOutput-0000000101_6_1.o
      "_traits:AOTBuildOutput-0000000101_6:207::CellCoords", referenced from:
          _AOTBuildOutput-0000000101_6:8073:flashx.textLayout.elements::TableElement/normalizeCells in AOTBuildOutput-0000000101_6.o
          _AOTBuildOutput-0000000101_6:8072:flashx.textLayout.elements::TableElement/getBlockedCoor ds in AOTBuildOutput-0000000101_6.o
      "_traits:AOTBuildOutput-0000000100_5:18::LocaleID", referenced from:
          _AOTBuildOutput-0000000100_5:340:mx.resources::LocaleSorter$/sortLocalesByPreference in AOTBuildOutput-0000000100_5.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64

    We've built a lot of test-apps including the same components and libraries as in this app, but we are not able to reproduce this crash in other projects.
    The project works fine in the Simulator without any crashes or compile errors!

  • PCC-S-02014 error while compiling with in Sun Solaris

    We are porting our application from HP-UX to Sun Solaris and as part of that I am trying the compile a Pro*C program in Sun Solaris using SUNWspro C++ compiler. Precompiling is failing with following error.
    PRECOMP set: /u01/app/oracle/product/10.2.0/bin/proc dbms=native code=cpp mode=ansi include=/u01/app/oracle/product/10.2.0/precomp
    ireclen=255 oreclen=255
    define=__sparc define=__SUNPRO_C include=/usr/include include=. include=/u01/app/SUNWspro/prod/include/CC/stlport4 include=/u01/app/oracle/product/10.2.0/rdbms/public/ include=/u01/app/oracle/product/10.2.0/network/public/ include=/u01/app/oracle/product/10.2.0/rdbms/demo/ errors=yes select_error=no
    sqlcheck=limited ltype=NONE
    release_cursor=no hold_cursor=no
    Pro*C/C++: Release 10.2.0.3.0 - Production on Thu Dec 18 03:09:59 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/10.2.0/precomp/admin/pcscfg.cfg
    Syntax error at line 44, column 30, file /u01/app/SUNWspro/prod/include/CC/stlport4/algorithm:
    Error at line 44, column 30 in file /u01/app/SUNWspro/prod/include/CC/stlport4/a
    lgorithm
    # include STLPNATIVE_HEADER(algorithm)
    .............................1
    PCC-S-02014, Encountered the symbol "(" when expecting one of the following:
    : [ ] + / . .. an identifier, a numeric constant, newline,
    define, elif, else, endif, error, if, ifdef, ifndef, include,
    line, pragma, undef, exec, sql, begin, end, var, type,
    oracle, an immediate preprocessor command, a C token, create,
    function, package, procedure, trigger, or, replace,
    Normal C++ files are getting compiled with out eny issues. This particular file is having functions written in C fashion. Any idea what is missing in the compiler option.
    regards
    Vinu

    Hi Vinu,
    I'm not sure if this is still an issue for you. When I have encountered issues like this with Pro*C I have ended up specifying parse=none to the proc command and then putting all declarations between "EXEC SQL BEGIN DECLARE SECTION" and "EXEC SQL END DECLARE SECTION" markers. I have also moved any "special" declarations into a specific header file and then placed the "#include <special header file>" inside the declare section as well.
    Perhaps that will help a bit,
    Regards,
    Mark

  • Never had trouble before with my incoming mail but just now I get a messege saying the user name or password for verizon is incorrect on my iPad but is fine on my home computer what's wrong with my ipad

    Never had trouble before with my incoming mail but just now getting messege that says the user name or password for verizon is incorrect yet my home computer is fine only have this od my iPad

    I experienced same problem tonight and called Verizon technical support and they walked me through the settings on iPad. Took about 5 minutes. Basically it involved changing incoming.verizon.net to pop.verizon.net and changing outgoing.verizon.net to smtp.verizon.net. But it's worth the call to ensure other settings are OK. Evidently, change at Verizon was effective today!

  • What is better?: Compiling with newest WTK or oldest WTK

    HI:
    I have installed the WTK 2.5. It's cool but I have a question. The MIDlets compiled with this new WTK are more or less compatible with older/newer phones?
    If I compile a MIDlet with this WTK instead a older WTK (like WTK 2.0) Executes the code more quickly? Using less memory?
    Thanks!!

    Comments inlined:
    I have installed the WTK 2.5. It's cool but I have a
    question. The MIDlets compiled with this new WTK are
    more or less compatible with older/newer phones?It is always better to use the new wireless tool kits since, the oler emulator related bugs would have been eliminated from the providers. Also, most of the toolkits are backward compatible.
    If I compile a MIDlet with this WTK instead a older
    WTK (like WTK 2.0) Executes the code more quickly?
    Using less memory?May be on the desktop environment you'll feel that difference since, new toolkits would have been optimized for performance but it is better to determine the behaviour on device (or) set the heap configurations based on the device in the emulator and check.
    Compiled byte codes remains the same whether you compile with toolkit 2.0/2.5.
    ~Mohan

  • JDK 1.6 update n and compile with JRE

    With the new optimizations of the install of a JRE with java 6 update n, is it possible to compile with jre and just the parts of the jre that you need for your application? That is can we distribute a java application that only have the parts of the JRE that it needs to a user that do not have any JRE isntalled and he can run it?
    Thanks
    WildChild

    The license of Sun does not allow you to distribute just part of the JVM. The only solution to run your application in a computer without JVM is bundle your whole JRE folder together with your application.
    At first it sounds bad, but if you use an installer to compress your files, the JRE will be around 14mb.
    Check this tool

Maybe you are looking for

  • Cannot send email from iPad2 with Shaw

    Hi there, I have issues that I cannot seem to resolve: I can receive from my shaw account but it sends all outgoing to the Outbox - I've double, triple cheked all incoming and outgoing servers - I even sat with my iPad next to my iMac to make sure ev

  • Warning message in 'Writeback Report'

    Hi, I have to enable writeback on a report and to prompt a warning message to user before submitting the changes. I am fine with enabling the writeback on the report and update the changes through writeback XML. But, I am not sure of this 'Warning Me

  • How to use a package as an interface for doing DML on a tabular region?

    Hello, I want to build a page to perform DML. However, I want to use a package containing the procedures for the select, insert, update and delete statements. The reason is that there is a one-to-many relationship between the table shown on the scree

  • TYPE IN ILLUSTRATOR CS4

    Can anybody help please. I have looked at videos and read about many of the new feature in Illustrator CS4 but I can't find out if working with type has changed in any way. Does anybody know where I can get any info. Thanks, Ieuan Rees

  • Make Imac A Home Web Server

    Hello, Is there any sites that may explain on how to make my Imac into a home web server. I need to add mysql, php5 and apache. Any hlp or guidence would be greatly appreciated. My go is to work on my sites locally and not live on their servers. Than