Can't compile with Javac in jdk 1.2.1

Hi all,
I used javac to compile "helloworld.java" in jdk 1.2.1 but It didn't "helloworld.class" file and it also didn't alert.
my system platform Is:Windows 2000 server
Jdk:1.2.1
anyone help me to resolve my problem.
thanks a lot
anhnt

Anhnt,
If I understand you correctly, you say that you tried to compile "helloworld.java" using "javac", and it didn't create a "helloworld.class" file and you got no error messages, right?
Are you using an IDE? Or did you manually enter the "javac" command via a command window? What was the exact command you entered?
Good Luck,
Avi.

Similar Messages

  • Use JAXP 1.3 with javac from JDK 1.4.2?

    I can use JAXP 1.3 with java from 1.4.2 SDK, by setting java.endorsed.dirs, e.g. java -DJava.endorsed.dirs=.... Is there a way to do the same with javac?
    Or, can I compile java with JDK 1.4 that makes use of classes from JAXP 1.3?
    Note that I can't rely on putting jars in the endorsed directory, it must be configurable.

    I was just apprehensive about the fact that my 3G turned into a very slow and almost useless device when I upgraded to 4.0 and later versions... and feared that the 3GS would be the same.

  • Compiling with javac

    Hi,
    I have a class: com/easypaygroup/UDF/employee/EmployeeUDF.java
    in directory: C:\dvl.home\env\jboss-4.0.3SP1\server\default\tmp\deploy\tmp43432easyweb-exp.war\WEB-INF\classes
    Now I want to compile my class with javac but i get the error
    error: cannot read: com/easypaygroup/UDF/employee/EmployeeUDF.java
    I'm using
    javac -sourcepath C:\dvl.home..... com/easypaygroup/UDF/employee/EmployeeUDF.java
    I need this to compile my classes on the fly with the command
    Runtime.getRuntime().exec("javac ....");
    Thx in adv,
    Pieter

    In Windows, you need to use the backslash (\) as a directory separator rather than the forward-slash (/)

  • Can't compile with any layers hidden on timeline

    Can someone explain what could possibly be going on?
    Running CS4 I have a .fla that was compiling fine yesterday.  Today I made some slight additions and it wouldn't compile, giving errors saying that various things were undefined.  I was starting to go nuts until finally I made all layers in the timeline visible and compiled again.  Now it compiles fine. 
    Just in case it was something Flash itself I created a new file, hid some layers and compiled and it was fine.  So it's not the application, just this particular file.
    What could be doing this?  Why can't I compile with hidden layers?
    Thanks for any help.

    Hi fizbeam,
    This happened to me a while ago!
    It's annoying.. somewhere in the publish settings theres a checkbox marked 'dont export hidden frames' and if it's checked it'll cause this to happen.

  • Can't compile with QT4 anymore

    Hi,
    Since last upgrade I can't compile my qt4 apps with KDevelop or QDevelop. It says something like :
    make: *** No rules to build target « /opt/qt4/mkspecs/linux-g++/qmake.conf », required by « Makefile ». Stopping.
    The qt-config tool does not exist anymore. There is a qtconfig one but, doesn't seem to be helping.
    I know that the files in the the qt4 package have been moved from /opt/qt4 to /usr/, but still I don't know what to do.
    I'm stuck !

    The fact is I cannot compile ANYTHING in QT4 !
    Let's take an example. I want to compile QPaddy (you can find it on qt-apps.org).
    I set the vars (which doesn't seem to have any effect):
    export QTDIR=/usr/share/qt4
    export QMAKESPEC=/usr/share/qt4/mkspecs/linux-g++
    export QT_LIBRARY_PATH=/usr/include/Qt
    I try to compile QPAddy :
    qmake qpaddy.pro
    make
    Here is what I get :
    cd src/ && make -f Makefile
    make[1]: entrant dans le répertoire « /root/docs/qpaddy0876/src »
    make[1]: *** Pas de règle pour fabriquer la cible « /usr/lib/qt-3.3/mkspecs/default/qmake.conf », nécessaire pour « Makefile ». Arrêt.
    make[1]: quittant le répertoire « /root/docs/qpaddy0876/src »
    make: *** [sub-src-make_default] Erreur 2
    And now the MakeFile :
    # Makefile for building: qpaddy
    # Generated by qmake (2.01a) (Qt 4.3.2) on: mar. nov. 6 17:49:17 2007
    # Project:  qpaddy.pro
    # Template: subdirs
    # Command: /usr/bin/qmake -unix -o Makefile qpaddy.pro
    first: make_default
    MAKEFILE      = Makefile
    QMAKE         = /usr/bin/qmake
    DEL_FILE      = rm -f
    CHK_DIR_EXISTS= test -d
    MKDIR         = mkdir -p
    COPY          = cp -f
    COPY_FILE     = $(COPY)
    COPY_DIR      = $(COPY) -r
    INSTALL_FILE  = install -m 644 -p
    INSTALL_PROGRAM = install -m 755 -p
    INSTALL_DIR   = $(COPY_DIR)
    DEL_FILE      = rm -f
    SYMLINK       = ln -sf
    DEL_DIR       = rmdir
    MOVE          = mv -f
    CHK_DIR_EXISTS= test -d
    MKDIR         = mkdir -p
    SUBTARGETS    =  \
            sub-src
    src//$(MAKEFILE):
        @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
        cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE)
    sub-src-qmake_all:  FORCE
        @$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
        cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE)
    sub-src: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE)
    sub-src-make_default: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE)
    sub-src-make_first: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) first
    sub-src-all: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) all
    sub-src-clean: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) clean
    sub-src-distclean: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) distclean
    sub-src-install_subtargets: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) install
    sub-src-uninstall_subtargets: src//$(MAKEFILE) FORCE
        cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
    Makefile: qpaddy.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
            /usr/share/qt4/mkspecs/common/unix.conf \
            /usr/share/qt4/mkspecs/common/linux.conf \
            /usr/share/qt4/mkspecs/qconfig.pri \
            /usr/share/qt4/mkspecs/features/qt_functions.prf \
            /usr/share/qt4/mkspecs/features/qt_config.prf \
            /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
            /usr/share/qt4/mkspecs/features/default_pre.prf \
            /usr/share/qt4/mkspecs/features/release.prf \
            /usr/share/qt4/mkspecs/features/default_post.prf \
            /usr/share/qt4/mkspecs/features/qt.prf \
            /usr/share/qt4/mkspecs/features/unix/thread.prf \
            /usr/share/qt4/mkspecs/features/moc.prf \
            /usr/share/qt4/mkspecs/features/warn_on.prf \
            /usr/share/qt4/mkspecs/features/resources.prf \
            /usr/share/qt4/mkspecs/features/uic.prf \
            /usr/share/qt4/mkspecs/features/yacc.prf \
            /usr/share/qt4/mkspecs/features/lex.prf
        $(QMAKE) -unix -o Makefile qpaddy.pro
    /usr/share/qt4/mkspecs/common/g++.conf:
    /usr/share/qt4/mkspecs/common/unix.conf:
    /usr/share/qt4/mkspecs/common/linux.conf:
    /usr/share/qt4/mkspecs/qconfig.pri:
    /usr/share/qt4/mkspecs/features/qt_functions.prf:
    /usr/share/qt4/mkspecs/features/qt_config.prf:
    /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
    /usr/share/qt4/mkspecs/features/default_pre.prf:
    /usr/share/qt4/mkspecs/features/release.prf:
    /usr/share/qt4/mkspecs/features/default_post.prf:
    /usr/share/qt4/mkspecs/features/qt.prf:
    /usr/share/qt4/mkspecs/features/unix/thread.prf:
    /usr/share/qt4/mkspecs/features/moc.prf:
    /usr/share/qt4/mkspecs/features/warn_on.prf:
    /usr/share/qt4/mkspecs/features/resources.prf:
    /usr/share/qt4/mkspecs/features/uic.prf:
    /usr/share/qt4/mkspecs/features/yacc.prf:
    /usr/share/qt4/mkspecs/features/lex.prf:
    qmake: qmake_all FORCE
        @$(QMAKE) -unix -o Makefile qpaddy.pro
    qmake_all: sub-src-qmake_all FORCE
    make_default: sub-src-make_default FORCE
    make_first: sub-src-make_first FORCE
    all: sub-src-all FORCE
    clean: sub-src-clean FORCE
    distclean: sub-src-distclean FORCE
        -$(DEL_FILE) Makefile
    install_subtargets: sub-src-install_subtargets FORCE
    uninstall_subtargets: sub-src-uninstall_subtargets FORCE
    mocclean: compiler_moc_header_clean compiler_moc_source_clean
    mocables: compiler_moc_header_make_all compiler_moc_source_make_all
    install: install_subtargets  FORCE
    uninstall:  uninstall_subtargets FORCE
    FORCE:
    Any idea ?

  • JSP compilation with javac runs out of memory in WL 6.1

    Hello
              I have a problem with JSP compilation in WL 6.1. It throws OutOfMemory exceptions very often. I have set memory settings (-Xms128m -Xmx356m) and WL console shows that there is a lot of free memory, still is does not help.
              Can I use jikes instead of javac ? Latest jikes generates code which is not compatible for JDK 1.3, so it does not work for WL 6.1 either.
              Any suggestions ?
              Maris

    Hi.
    I have checked Java Doc for repeat tag on
    http://e-docs.bea.com/wls/docs61/javadocs/weblogicx/jsp/tags/RepeatTag.html.
    java.lang.Object
    |
    +-javax.servlet.jsp.tagext.TagSupport
    |
    +-javax.servlet.jsp.tagext.BodyTagSupport
    |
    +-weblogicx.jsp.tags.RepeatTag
    According to the API, it should be a tag pair with tag body. I also tried
    your code, I has the exactly the same Error message in browser. I understood
    it is an example from http://e-docs.bea.com/wls/docs61///////pdf/jsp.pdf.
    I strongly suggest you to post this message to news group
    weblogic.developer.interest.jsp instead.
    Thanks.
    BEA Weblogic Support
    "Hans Nemarich" <[email protected]> wrote in message
    news:3bcc8384$[email protected]..
    >
    Hi, I have the following problem when i try to use the weblogic-tags.jarincluded
    with wl6.1. I have copied the file and is referenced by the classpath. I`mtrying
    to run the example included in the docs:
    Parsing of JSP File '/HelloWeblogic.jsp' failed:
    /HelloWeblogic.jsp(15): no corresponding open tag for tag extensionclose: //[
    null; Line: 15]
    probably occurred due to an error in /HelloWeblogic.jsp line 15:
    </wl:repeat>
    ### this is the jsp file: ###
    <html>
    <head>
    <%@ taglib uri="weblogic-tags.tld" prefix="wl" %>
    <title>Hello Weblogic</title>
    </head>
    <body bgcolor="#FDF5E6">
    <h2>
    Weblogic Custom Tags
    </h2>
    <hr>
    <wl:repeat id="name" set="<%= new String[] { "sam", "fred", "ed" } %>">
    <%= name %>
    </wl:repeat>
    </body>
    </html>
    ### ...and this the web.xml file: ####
    <taglib>
    <taglib-uri>weblogic-tags.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/lib/weblogic-tags.jar
    </taglib-location>
    </taglib>
    Someone can help me ?

  • Compiling with javac command gives error msg

    HI,
    I'm working on a linux based system and I need java for programming projects but when i want to compile a project, I get the error:
    1. WARNING in Og05_08.java
    (at line 8)
            public class Og05_08 extends Applet implements ActionListener
                         ^^^^^^^
    The serializable class Og05_08 does not declare a static final serialVersionUID field of type long
    1 problem (1 warning)I think it has something to do with the compiler and not with the programming.

    It's a warning, not an error. From the API:
    The serialization runtime associates with each serializable class a version number, called a serialVersionUID, which is used during deserialization to verify that the sender and receiver of a serialized object have loaded classes for that object that are compatible with respect to serialization. If the receiver has loaded a class for the object that has a different serialVersionUID than that of the corresponding sender's class, then deserialization will result in an InvalidClassException. A serializable class can declare its own serialVersionUID explicitly by declaring a field named "serialVersionUID" that must be static, final, and of type long:
    ANY-ACCESS-MODIFIER static final long serialVersionUID = 42L;
    If a serializable class does not explicitly declare a serialVersionUID, then the serialization runtime will calculate a default serialVersionUID value for that class based on various aspects of the class, as described in the Java(TM) Object Serialization Specification. However, it is strongly recommended that all serializable classes explicitly declare serialVersionUID values, since the default serialVersionUID computation is highly sensitive to class details that may vary depending on compiler implementations, and can thus result in unexpected InvalidClassExceptions during deserialization. Therefore, to guarantee a consistent serialVersionUID value across different java compiler implementations, a serializable class must declare an explicit serialVersionUID value. It is also strongly advised that explicit serialVersionUID declarations use the private modifier where possible, since such declarations apply only to the immediately declaring class--serialVersionUID fields are not useful as inherited members.
    ~

  • Compile with javac

    Hi,
    I always use JBuilder to compile my programs. Now I tried to compile in the commandprompt. That didn't work so good. The project I tried to compile works fine in Jbuilder. When I compiled in the commandprompt I wrote:
    javac Application.java
    Application.java is my mainprogram.
    I got this error message:
    Application.java:42: cannot resolve symbol
    Symbol: class MainWindow
    location: class Application
    MainWindow frame = new MainWindow();
    ^
    Application.java:42: cannot resolve symbol
    Symbol: class MainWindow
    location: class Application
    MainWindow frame = new MainWindow();
    ^
    Isn't MainWindow.java found? The files are in the same folder and I'm standing in the folder when I'm compiling. What is wrong?
    /M

    search for the program MainWindow.java then change the MS DOS directory - cd:\ etc until this is in the same place
    ... javac >>>

  • I can't compile with gcc Solaris 2.6

    I downloaded the binary gcc-3.0.1-sol26-sparc-local and I used the pkgadd command, but when I want to compile the tcpwrappers, the next messages is showed.
    ld: fatal: file values-Xa.o: cannot open file: No such file or directory
    ld: fatal: File processing errors. No output written to tcpd
    collect2: ld returned 1 exit status
    and my variables are:
    CC=gcc
    EDITOR=vi
    HOME=/export/home/usr/vreyes
    HZ=100
    LOGNAME=vreyes
    MAIL=/var/mail/vreyes
    MANPATH=/usr/local/man:/usr/man:/usr/local/X11/man
    PAGER=less
    PATH=/usr/local/bin:/bin:/usr/ccs/bin:/etc:/usr/etc:/usr/local/X11/bin:/usr/ucb:/usr/openwin/bin:/usr/local/etc:/usr/sbin
    PS1=#
    PWD=/export/home/usr/vreyes/tcp_wrappers_7.6
    SHELL=/bin/csh
    TERM=xterm
    TZ=Mexico/General
    USER=vreyes
    XAUTHORITY=/home/vreyes/.Xauthority
    LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/X11/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib

    first check if values-Xa.o exists ? I think this is where you'll find it : /usr/ccs/lib/
    I suspect your problem is that if you are using Makefiles etc they do not contain the full PATH to this binary/lib hence your error.
    If the above fails or is not appropriate check out http://gcc.gnu.org or do a search say using yahoo for "values-Xa.o" & "gcc" lots of hits !

  • Can't compile with -renderingdiagnostics

    Hello
    getting contradictory messages here when trying to compile using the PFI in terminal
    '/Applications/Adobe Flash CS5/PFI/bin/pfi' -package -renderingdiagnostics -target ipa-debug  -provisioning-profile "/Users/john.doe/Documents/Certificates/JohnDoeLearningPP.mobileprovision" -storetype pkcs12 -keystore "/Users/john.doe/Documents/Certificates/iPhoneDeveloperJohnDoe.p12" -storepass password "HardwareRender.ipa" "HardwareRender-app.xml" "HardwareRender.swf"
    I get an error
    expected -target instead of -renderingdiagnostics
    But in the Adobe packerforiphone_devguide.pdf it says
    The -renderingdiagnostics flag must directly follow the -package flag.
    Anybody else come up against this?

    Thanks for the responce, however same problem ocurrs I'm afraid
    osdtdes01:~ john.doe$ java -jar '/Applications/Adobe Flash CS5/PFI/lib/pfi.jar' -package -renderingdiagnostics -target ipa-debug  -provisioning-profile "/Users/john.doe/Documents/Certificates/JohnDoeLearningPP.mobileprovision" -storetype pkcs12 -keystore "/Users/john.doe/Documents/Certificates/iPhoneDeveloperJohnDoe.p12" -storepass password "HardwareRender.ipa" "HardwareRender-app.xml" "HardwareRender.swf"
    expected -target instead of -renderingdiagnostics
    usage:
      pfi -help
      pfi -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc ) -provisioning-profile <profile> SIGNING_OPTIONS <output-package> ( FILE_OPTIONS | <input-package> )
      pfi -version
    SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -alias <aliasName> )? ( -keypass <pass> )? ( -providerName <name> )?
    FILE_OPTIONS:    <app-desc> <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*

  • ER unable to compile using javac with java 1.3.1 library (JDEV 10.1.3.0.4)

    Hi !
    When I try to compile in JDev with javac and the java 1.3.1 library, I get the following error :
    Error: javac: invalid flag: -source
    The command line generated by JDev looks like :
    C:\jdk1.3.1_03\bin\javac.exe -J-mx512m -verbose -deprecation -source 1.3 -target 1.3 -encoding Cp1252 -g -classpath [...] -sourcepath [...] -d [...] @C:\DOCUME~1\user\LOCALS~1\Temp\javac54193.tmp
    It seems that -source and -target flags do not exist in this version of javac.
    But it does not seem possible to remove these flags generated by JDev, so I'm unable to compile with javac 1.3.1 and JDev.
    So i'm looking for :
    - A workaround to prevent JDev from adding the -source and -target flags.
    - A future release of JDev where you could disable these flags, or, much better, where JDev automatically disables these flags when it detects a 1.3.1 library (there may be other incompatible flags I did not mention).
    Thank you for your answers :)

    Hi,
    when you open the project properties and choose the compiler option to tht the compiler to "javac" and then the "source" and "target" to 1.3, wouldn't this compile it for Java 3? I don't think that it is necesary to use JDK 1.3 for compiling the sources
    Cross-Compilation Options
    By default, classes are compiled against the bootstrap and extension classes of the platform that javac shipped with. But javac also supports cross-compiling, where classes are compiled against a bootstrap and extension classes of a different Java platform implementation. It is important to use -bootclasspath and -extdirs when cross-compiling; see Cross-Compilation Example below.
    -target version
    Generate class files that will work on VMs with the specified version. The default is to generate class files to be compatible with the 1.2 VM in the Java 2 SDK. The versions supported by javac in the Java 2 SDK are:
    1.1
    Ensure that generated class files will be compatible with 1.1 and VMs in the Java 2 SDK.
    1.2
    Generate class files that will run on VMs in the Java 2 SDK, v 1.2 and later, but will not run on 1.1 VMs. This is the default.
    1.3
    Generate class files that will run on VMs in the Java 2 SDK, v 1.3 and later, but will not run on 1.1 or 1.2 VMs.
    1.4
    Generate class files that are compatible only with 1.4 VMs.
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
    Frank

  • Compiles well with eclipse but not with javac

    Hello.
    I am using Windows XP and eclipse 3.0.2.
    I have j2sdk-1_4_2_07-windows also.
    I built class files from the code below with eclipse.
    On jre, It silently runs and exits as expected.
    But when compiled with javac, It does not.
    It dumps a stack trace.
    Which compiler is right?
    public class ANullPointerException {
         private Object o = new Object();
         private Sub sub = new Sub();
         private abstract static class Super {
              protected abstract Object access();
              private Super() {
                   access();
         private class Sub extends Super {
              protected Object access() {
                   return o;
         public static void main(String[] args) {
              new ANullPointerException();
    }the stack trace was as below
    java.lang.NullPointerException
         at ANullPointerException.access$200(ANullPointerException.java:1)
         at ANullPointerException$Sub.access(ANullPointerException.java:15)
         at ANullPointerException$Super.<init>(ANullPointerException.java:9)
         at ANullPointerException$Super.<init>(ANullPointerException.java:5)
         at ANullPointerException$Sub.<init>(ANullPointerException.java:13)
         at ANullPointerException$Sub.<init>(ANullPointerException.java:13)
         at ANullPointerException.<init>(ANullPointerException.java:3)
         at ANullPointerException.main(ANullPointerException.java:20)
    Exception in thread "main" I found 3 class files built by eclipse. They were
    ANullPointerException$Sub.class,
    ANullPointerException$Super.class and
    ANullPointerException.class.
    No missing or extra files found, I think.
    But I found 4 class files built by javac. They were
    ANullPointerException$1.class,
    ANullPointerException$Sub.class,
    ANullPointerException$Super.class and
    ANullPointerException.class.
    I do not know why ANullPointerException$1.class is needed.
    Thank you in advance.

    I found the answer myself.
    I have been setting the eclipse's .class file compatibility to 1.4.
    But it is not javac's default.
    So all I need to do is javac -target 1.4 ANullPointerException.java.
    Sorry for a noise

  • Finding javax package with javac

    Hi
    I have just installed j2sdk1.4.0_03 and Tomcat 4.1, using it as a JSP/servlet loocalhost. The installation wooks fine but when I try to compile with javac, the javax package can�t be found.
    This is the change I have made to autoexec.bat �
    set PATH=%PATH%;C:\j2sdk1.4.0_03\bin
    set CLASSPATH=.;C:\j2sdk1.4.0_03\src.zip
    Obviously the javax package is not included in src.zip but when I use, for example page import javax.servlet.* in a jsp-file that is compiled by Tomcat, it is found.
    So, how do I get javac to find the javax package?
    Thanks in advance / regards pg

    to run servlets you need to add the servlet.jar in your classpath. servlet.jar comes with most servlet runners like tomcat.

  • Java 6u24 won't launch signed JNLP app with classes compiled with JDK 1.4.2

    Anyone else having a problem launching a JNLP app compiled with Java 1.4 using Java 6u24 on the client? Anyone have a Java 1.4-compiled app that does launch with Java 6u24?
    I am, and I have isolated the problem to some change in 6u24's java web start launching logic. The splash screen appears and then javaws just quits with no error. Trace shows it is not getting past checking of the first .jar. My JNLP app, fully signed with CA-issued certificate, when compiled with Java 1.4.2 will not launch on JRE 6u24 (or 6u25-b03). The same exact app launches perfectly fine when it is compiled with JDK 1.5 or 1.6. It is not a signing problem, though it is related to certificate checking logic or a concurrency flaw in javaws' AppPolicy and TrustDecider classes. It is not a host server or network problem as those have been varied with same results. It is not a specific .jar problem as I have varied what is the first .jar with same results. I have eliminated all other variables to find the only difference is what Java version the app is compiled with. Well, all but one other variable - I have not tried with apps other than mine.
    My app is compiled with JDK 1.4.2 so I can still support older platforms. That requirement is going away soon but this is still a regression from 6u23 that is causing a big problem for at least this developer.

    You can try to use the version of the jarsigner JDK 1.5 or later.
    Has changed the management of files in META-INF.
    So compile with 1.4 but sign with 1.5 or later

  • Can I use Java Creator 2 with old JRE/JDK 1.4.2_07??

    I am planning to install new Java Creator 2 but I am having JRE and JDK 1.4.2_07 and I am using mysql 3.23.55 and I want to integrate it.
    Currently my OS is Windows XP SP2 platform with processor Intel Centrino 1.4 and RAM 256 MB... I know the ram is not sufficient and i am planning to upgrade it.. but the problem is can i still remain to use the old JRE and JDK 1.4.2_07 and i am also using mysql 3.23.55... all the driver and engine are out to date but can i still use it and integrate it with java creator 2?
    The questions are:
    1) Can I use Java creator 2 with those old engine?
    2) What java compiler or development tools i can use to develop java standalone application?
    Thank you

    When the jar file is expanded within Eclipse, it shows that the mail.jar file is built with 1.5.0; I think? Here is the header contents of the MANIFEST.MF file, note "Created by."
    Manifest-Version: 1.0
    Implementation-Version: 1.4
    Specification-Title: JavaMail(TM) API Design Specification
    Specification-Version: 1.3
    Implementation-Title: javax.mail
    Extension-Name: javax.mail
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Implementation-Vendor-Id: com.sun
    Implementation-Vendor: Sun Microsystems, Inc.
    Specification-Vendor: Sun Microsystems, Inc.
    SCCS-ID: @(#)javamail.mf     1.6 05/12/09
    This is causing problems, because anytime I try to use this file, I get signing errors. I have several Web Services built by BAE and Plumtree that are running on 1.4.2; and therefore I am stuck with 1.4.2. I did try to remove the SUN_MICR.* files, thinkning it would resolve the signing issues, but then that caused other problems. I can provide you with code that demonstrates the problem.
    Is there a place where I can get a mail 1.4 jar file built with 1.4.2? that would most likely solve my problems.

Maybe you are looking for

  • The limitation of the number of iphones on one account at the AppStore

    Don't you believe that this limitation should be done in some other way? In my opinion, there should be a limit for a number of iphones of the same generation. I had 2 Iphones 2G (i broke one), now I use 2 iphones 3G, and one of them was replaced due

  • How to create sub-folders containg my announcment list item's images , instead of saving all the images insdie a share folder

    Today i have found this issue which i was not aware of. i have a team site collection, and inside this site collection i have an announcement App. now when users create announcement items and they insert pictures inside the items , all the images are

  • Best way to set up a second monitor with a Touchsmart

    What's the best way to set up a second monitor for the Touchsmart IQ506?  Is a USB to VGA cable the only way and how well does that work (I've read that they can be buggy)?   Are they any recommendations for products and setting it up?

  • Pictures automatically saved as jpg.rem

    Hello! For some apparent reason, the pictures that I take with my BB are now being saved as jpg.rem photos.  When I attempt to transfer them to my computer, the photos are not visible at all.  Does anyone have the same problem?  If so, what's the sol

  • Dataelement

    Hi All, In my module pool program I need to show range of two numbers in one field  up to now we are using ".",if the number contains decimal places it is difficult to us,I think problem in data type,if I take "-" instead of "." which type of datatyp