Unable to compile servlet files in javac

i am unable to compile servlet *.java files in javac.as far as i can see my path is correct.
Kindly provide a solution as soon as possible.
My jdk1.3 is in my c drive and my tomcat in my d drive.
if you are able to compile kindly let me know your path.
it says symbol not resolved.i think that it is unable to import from javax

Assuming that your jdk is in c drive as c:\jdk1.3 set the path and the classpath like as shown below. Remember that you have to set the classpath for the classes in the javax.servlet and javax.servlet.http packages. I know how to do it for JavaWebServer. JavaWebServer has a jar called servlet.jar that contains all these classes. What you need to do is to put this jar file in your classpath. There will be a similar jar file for Tomcat server also. You need to refer the Tomcat server documentation for that.
The path and the classpath have to be set like this...
d:\>path=%path%;.;c:\jdk1.3\bin;
d:\>set classpath=%classpath%;.;c:\jdk1.3\lib;c:\JavaWebServer2.0\lib\servlet.jar;
assuming tht JWS is installed in c:\JavaWebServer2.0
Also note that there should be no spaces in between while setting the classpath. In your case you have to change the last part of the classpath to customize your requirement.
Hope that will help.
Regards
Jaydeep

Similar Messages

  • Cannot compile servlet file

    I cannot compile Servlet files on my WinXP environment.
    my servlet.jar file is located at
    c:\tomcat\jakarta-tomcat-3.3.1\common\lib\servlet.jar
    what shall I do?
    The error messages are only for servlet portion of code?

    In XP you can set the path by rightclicking on my computer - then go to environment vairables and edit the path but I cannot see any for classpath???
    What is the easist way yo use the class path?

  • Setup was unable to compile the file ccmclasses.mof

    First i have a access denied problem with push installation ;
    MSI: Setup was unable to create the WMI namespace CCM
    The error code is 80070005
    MSI: Warning 25101. Setup was unable to delete WMI namespace ccm\dcm
    The error code is 80070005
    Installation failed with error code 1603
    I've tried many actions include deleting repository directory and rebuilding dll and mof files ...
    Finally i've added LOCAL SERVICE, NETWORK SERVICE, and SYSTEM accounts to Local administrators group and now there is no 80070005 error.
    But i ve got a new error :)
    MSI: Setup was unable to compile the file ccmclasses.mof
    The error code is 8004402F
    MSI: Warning 25002. Failed to delete CCM_Service_ErrorHandlerRegistration.Clsid="{0F95BCE5-2209-488a-B4BC-4396AD233C8D}" from CCM
    The error code is 80041010
    Installation failed with error code 1603
    i ve almost 2000 clients with this situation and i think i lost my mind very soon.
    Any help is appreciated.

    Hi Bulent,
    Very glad to hear the issue resolved and thanks for sharing your experience, which can help other community members facing similar problems. Also, if you have any further concerns, please do not hesitate to let us know and we are happy to be of further
    assistance.
    Thanks,
    Yog Li -- Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Unable to compile servlets

    I am unable to compile a java servlet program.
    the message thrown ou by the compiler is
    "Class java.servlet not found in import"

    You need to find where the servlet.jar file is on your system. For example i'm running tomcat on a linux machine, this is what i type to compile servlets.
    javac -classpath /var/tomcat4/common/lib/servlet.jar yourFile.java

  • How to Compile servlet files in weblogic

    Hi,
    I would like to know how i can compile the servlet files to deploy in weblogic.
    I searched for servlet.jar or servlet-api.jar files in my weblogic 8.1 installed folder. Could not find it to set the classpath.
    Please help.

    You need to use weblogic.jar for Weblogic 8.1. It should be present under server\lib subdirectory in Weblogic installation directory.

  • Unable to Compile .pll files in EBS R12 on PROD instance

    Hi All,
    We are facing Problem in our Prod instance. When we tried to compile pll files of any module we are not able to get compile in production, but these files easily compiled in our Test/DEV instance. We are not getting any solution from product support.
    OS version: Solaris 10
    EBS version 12.0.4 with 10.2.0.2.
    Any body please help us.

    No error message is coming up, adadmin session got hung. frmcmp_batch process are not getting killed through kill -9 command. All the times we rebooted the server to release these processes.Can you find any errors in the database log file?
    What if you move the file to any of the working instance, can you compile it then?
    Please compile it manually as per these docs and check then.
    How to Generate Form, Library and Menu for Oracle Applications (Doc ID 130686.1)
    Unable To Compile Custom Form Using Frmcmp Utility Receive FRM-91500 (Doc ID 563655.1)
    Thanks,
    Hussein

  • Unable to compile .jsp files with Jakarta Tomcat 5.5.3

    Hello,
    I am unable to reflect the changes that I am making in my .jsp files on my server. I am using Fedora core 4. It's like the .jsp files are not being compiled anymore. Please help! I would greatly appreciate any feedback. Thanks for your time.

    Thanks for your reply. My .jsp files where working just fine before I changed the layout of the output. Even making changes to a simple file that contains: <% out.println("Welcome to the jsp page!"); %> to the following: <% out.println("Welcome to the jsp page! Today is the day!"); %> does not work. I have cleared the browser by deleting all cookies, temp files, history, etc. The changes to my file are not being compiled. I thought that in JSP 2.0 changes to your files where compiled automatically. Am I missing something? Please help!

  • Unable to compile mof files.

    When i am trying to run mofcomp -check file, it gives me error:
    Mofcomp fails with error 0X8004400c .
    Not sure about this error, plz help?
    Configuration.mof
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("Radmin", NOFAIL)
    [DYNPROPS]
    Class Radmin
    [key] string KeyName;
    Boolean 1[];
    [DYNPROPS]
    Instance of Radmin
    KeyName="Radmin";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Radmin\\v3.0\\Shared\\Parameters\\XferParam\\1|1"),Dynamic,Provider("RegPropProv")] 1;
    #pragma namespace ("\\\\.\\root\\cimv2")
    #pragma deleteclass("Radmin_64", NOFAIL)
    [DYNPROPS]
    Class Radmin_64
    [key] string KeyName;
    Boolean 1[];
    [DYNPROPS]
    Instance of Radmin_64
    KeyName="Radmin";
    [PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Radmin\\v3.0\\Shared\\Parameters\\XferParam\\1|1"),Dynamic,Provider("RegPropProv")] 1;
    Sms_def.mof:
    #pragma namespace ("\\\\.\\root\\cimv2\\SMS")
    #pragma deleteclass("Radmin", NOFAIL)
    [SMS_Report(TRUE),SMS_Group_Name("Radmin"),SMS_Class_ID("Custom|Radmin|1.0"),
    SMS_Context_1("__ProviderArchitecture=32|uint32"),
    SMS_Context_2("__RequiredArchitecture=true|boolean")]
    Class Radmin: SMS_Class_Template
    [SMS_Report(TRUE),key] string KeyName;
    [SMS_Report(TRUE)] Boolean 1[];

    Hello Jason,
     MOFCOMP -check on both files did not turn up any errors.  Also did not see any errors in the dataldr.log file when I put them in. but now
    Hardware Inventory not available in Actions.
    Also i'm getting error in policyagent.log:
    Failed to trigger policy evaluation for CCM_Policy_Policy4.PolicyID="{e254f489-177f-4526-8342-7a51c2d90561}",PolicySource="SMS:RTP",PolicyVersion="12.00"
    Failed to apply policy rule {1212f5e9-0507-4706-ba68-d8bd5529c526}. PolicyAgent_PolicyEvaluator 12/16/2014 5:11:57 PM 3436 (0x0D6C)
    The policy CCM_Policy_Policy4.PolicyID="{e254f489-177f-4526-8342-7a51c2d90561}",PolicySource="SMS:RTP",PolicyVersion="12.00" failed to compile. State has been set to 'Error' and policy will be rolled back. PolicyAgent_PolicyEvaluator
    7/30/2008 5:11:56 PM 3436 (0x0D6C)
    Failed to update policy CCM_Policy_Policy4.PolicyID="{e254f489-177f-4526-8342-7a51c2d90561}",PolicySource="SMS:RTP",PolicyVersion="12.00" PolicyAgent_PolicyEvaluator 12/16/2014 5:11:57 PM 3436 (0x0D6C)
    I reverted back to the default MOFs and that fixed the issue.
    Any ideas, this inventory is turning out to be a pain?

  • Unable to compile servlet

    C:\j2sdk1.4.1_01\bin\fs>javac HelloServlet.java
    HelloServlet.java:2: package javax.Servlet does not exist
    import javax.Servlet.*;
    ^
    HelloServlet.java:4: cannot resolve symbol
    symbol : class Servlet
    location: class com.nit.Servletx.hello.HelloServlet
    public class HelloServlet implements Servlet
    ^
    HelloServlet.java:6: cannot resolve symbol
    symbol : class ServletCongig
    location: class com.nit.Servletx.hello.HelloServlet
    public void init (ServletCongig sc) throws ServletException
    ^
    HelloServlet.java:6: cannot resolve symbol
    symbol : class ServletException
    location: class com.nit.Servletx.hello.HelloServlet
    public void init (ServletCongig sc) throws ServletException
    ^
    HelloServlet.java:10: cannot resolve symbol
    symbol : class ServletRequest
    location: class com.nit.Servletx.hello.HelloServlet
    public void Service(ServletRequest res,ServletResponse res)throws ServletExcepti
    on,IOException
    ^
    HelloServlet.java:10: cannot resolve symbol
    symbol : class ServletResponse
    location: class com.nit.Servletx.hello.HelloServlet
    public void Service(ServletRequest res,ServletResponse res)throws ServletExcepti
    on,IOException
    ^
    HelloServlet.java:10: cannot resolve symbol
    symbol : class ServletException
    location: class com.nit.Servletx.hello.HelloServlet
    public void Service(ServletRequest res,ServletResponse res)throws ServletExcepti
    on,IOException
    ^
    HelloServlet.java:24: cannot resolve symbol
    symbol : class ServletConfig
    location: class com.nit.Servletx.hello.HelloServlet
    public ServletConfig getServletConfig()
    ^
    8 errors
    i am getting this kind of errors can any one help me.

    Follow this link http://java.sun.com/javaee/downloads/index.jsp download the j2ee 5 sdk, install it, then put the j2ee.jar on your classpath or if you already have a sdk then just locate the directory that the servlet.jar or j2ee.jar is in and then put the jar on your classpath.
    The errors you are getting are caused by the jvm not being able to find the servlet classes.
    p

  • Unable to compile .ear file with an operation that returns an array

    Hi
    God, hopefully someone can help me.....
    I have a web service that has various operations, one of which is attempting to return an array of strings. I am declaring a complextype in the WSDL that should functions as the array like this:
    <schema.....
    <element name="result" type="string"/>
    <complexType name="searchResponseElement">
    <sequence>
    <element ref="tns:result" maxOccurs="unbounded"
    minOccurs="0"/>
    </sequence>
    The error I receive is utterly vague, just saying ' compilation error occurred' when I go to deploy the ear file. I did have this working with another methos of declaring an array i.e.
    <schema...
    <complexType name="searchResponseElement">
    <complexContent>
    <restriction base="soap11-enc:Array">
    <attribute ref="soap11-enc:arrayType" wsdl:arrayType="xsd:string[]"/>
    </restriction>
    </complexContent>
    </complexType>
    But, I was trying to consume the webservice in an APEX application and that method did not return a tree structure that APEX was able to handle.
    I really am losing my mind over this as I've had the same type of definition working before. Please, anyone - any clues???

    I answered this question that you also posted on stackoverflow.com.

  • Unable to compile .c file which includes jni.h

    I have implemented the native method in c program and saved it as JNIDemo.c.The problem is that when I compile the c file I get lots of error regarding jni.h file which I have placed inside the include dir of torbo c.Please tell me- is there any specific path setting of jni.h header file?? How to create the dll file of the JNIDemo.c?

    Suggestions:
    1) post the error messages
    2) post the file (if small enough)
    3) consider asking this in the JNI forum where you have a better chance of bumping into a JNI expert. If you do this, please have each thread refer to the other so as not to get flamed for cross-posting.

  • Unable to compile ( not creating class file ) java file

    Hi
    I am unable to compile java file in eclipse. I am using Tomcat 5.0 and eclipse 3.0. I am able to compile the file from command prompt. I installed eclipse and did all settings including Build path ( WEB-INF\classes). But I donot see any class file getting created.

    Are you seeing errors when eclipse compiles you classes? Have you tried to build your project using; Project -> Build All? If you have and it looks like no errors are generated you may need to change your perspective. Try changing to the resource perspective to see the built class files; Window -> Open Perspective -> Other -> Resource. By default built class files end up in the bin directory of the project. i usually change my built classes directory to classes, just makes more sense to me.

  • Generated servlet error - unable to compile class for JSP - using NB5.5/SS9

    I am using NB5.5 beta2 and Sun server 9.0 with JSF 1.1 - all is OK when I am creating firts JSF application - welcomeJSF.jsp page is rendered normally - but when I am adding one more jsp with JSP view and so on - then - I am getting errors in both JSF pages - both - in original welcomeJSF and the new invoice.jsp page
    here is code for typical error
    org.apache.jasper.JasperException: Unable to compile class for JSP
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:99: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.jsf_core.ViewTag
    [javac] jspxth_f_view_0.setJspId("id7");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
    [javac] jspxth_h_outputText_0.setJspId("id17");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
    [javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
    [javac] ^
    [javac] 3 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:409)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:317)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    note The full stack trace of the root cause is available in the Sun Java System Application Server Platform Edition 9.0 logs.
    and there is output for another error:
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
    [javac] symbol : method setJspId(java.lang.String)
    [javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
    [javac] jspxth_h_outputText_0.setJspId("id17");
    [javac] ^
    Generated servlet error:
    [javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
    [javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
    [javac] ^
    [javac] 3 errors
    and here is code of my new invoice.jsp page:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <f:view>
       <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
          <h1><h:outputText value="Java Server Faces" /></h1>
        <h:inputText value="#{managerBean.currentInvoice.id}"/>
        <h:inputText value="#{managerBean.currentInvoice.description}"/>
        <h:inputText value="#{managerBean.currentInvoice.total}"/>
        <h:commandButton value="new_invoice"
                         type="submit"
                         actionListener="#{managerBean.createNewInvoice}"/> 
        </body>
    </f:view>and faces-config.xml file:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config>
        <managed-bean>
            <managed-bean-name>managerBean</managed-bean-name>
            <managed-bean-class>com.brl.ERPSolution.ui.ManagerBean</managed-bean-class>
            <managed-bean-scope>session</managed-bean-scope>
        </managed-bean>
    </faces-config>managerBean was intended to be backing beans which will call the facaed beans of EJB 3.0 entity beans - but at presnet - almost empty methods are declared there:
    package com.brl.ERPSolution.ui;
    import javax.faces.event.ActionEvent;
    import com.brl.solutions.EJB3.*;
    * @author Administrator
    public class ManagerBean {
        protected int currentInvoiceId;
        protected Invoices currentInvoice;
        protected InvoicesFacade invoicesFacade;
        /** Creates a new instance of ManagerBean */
        public ManagerBean() {
        /* business methods */
        public void createNewInvoice(ActionEvent actionEvent)
            invoicesFacade.create(this.currentInvoice);
        public Invoices getCurrentInvoice()
            return this.currentInvoice;
        public void setCurrentInvoice(Invoices currentInvoice)
            this.currentInvoice=currentInvoice;
    }I read in one blog (actually - the only page which was returned by yahoo - so - this should be very rare error!!!) to try to use Sun server's verifier.bat - and - it reported 0 errors and 0 warning. Build was succesfull as well and also - deployment was without errors - but - above mentioned error appeared during the automatic compilation of jsp pages/servlet when newly deployed jsps are first accessed from remote browser.
    So - is it possible, please, to receive some advice - what to do further? I feel that my invoice.jsp page can be with errors, - however - the original welcomeJSF.jsp should be working without errors even the erronwous JFS jsp page is added to web application.
    Thans for any adice or hint in advance!!!

    OK - I have made 'clean and build main project' from NB menu and the deployed the resulting *.war and the error messages have disappeared... So - it seems to be bug...

  • Unable to compile a servlet

    Iam not able to compile a servlet.I have included the servlet.jar in my classpath.
    My java compiler path is c:\jdk1.3 and JWS path is d:\jws2.0
    I get "Unable to resolve symbol" error which points to HttpServlet and javax.servlet.
    Can anybody help me in this.

    the following is the code in build.xml
    <? xmlversion="1.0"?>
    <project name=" test" default="compile" basedir=".">
    <property name="src" value="."/>
    <property name="build" value="build"/>
    <target name="init">
    <mkdirdir="${build}"/>
    </target>
    <target name="compile" depends=" init">
    <!- - Compile the java code - ->
    <javac srcdir="${src}" destdir="${build}"/>
    </target>
    </project>
    while building it says "The processing information
    must begin with the name of the target"
    what does it mean and where i have done mistake.
    please clarifyIs that code exactly copied and pasted from your build file? If so, you will need to make some modifications:
    1. It looks like you have a space between the "?" and "xml" on the first line. There cannot be a space here. But you do need a space between "xml" and "version". So change your code to look like this:
    <?xml version="1.0"?>2. You have an extra space in your <project> element's "name" attribute. There should not be a space here. Change this line to look like this:
    <project name="test" default="compile" basedir=".">
    //             ^
    //             |
    //       yours had a space hereThere are several places in your build file where you have spaces that should not be there. Go through the file and remove the spaces (such as in the line depends=" init").
    Let me know if that changes anything for you. Oh, and one more thing -- make sure you are in the same directory as your build.xml file! Keep at it, you will get it.

  • 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

Maybe you are looking for

  • How to delete select data in the table control

      this problem makes me headache.   I am new to labview, when  a table shows some data. many rows and column. how can delete on row which I selected. the other rows are remain no change. I really need help.thanks in advance. It is better to attach th

  • Want to connect Oracle 11g from SQL Navigator on Windows

    Hi brothers, I'm a new ora man, and having a issue need your help. I installed Ora 11g on linux (Ubuntu 8.10) and SQL Navigator 11g on WindowsXP. Now, I want to use SQL Navigtor to connect database server. I tried many times but it still fails with m

  • Join multi access database tables

    Anybody knows how to join multi Access database tables by using LAbview SQL tool kit? It seems Labview SQL does not support "JOIN" feature. Thanks

  • I can't import Sony Alpha 5100 raw format files

    Hello experts, I tried to import raw format files from SONY Alpha 5100 (ILCE-5100) but never worked while it did when I tried with Alpha 5000. I checked with SONY customer support and was told that RAW format is exactly the same between 5000 and 5100

  • Apeture keeps crashing

    Apeture keeps crashing in Maverick. I have 2.1.4 - should I update aperture? What to? Thanks much!!