Compiling problem in windows X

Hi,
Windows XP runs java application but does not compile it. I get following message:
'javac' is not recognized as an internal or external command, operatable program or batch file.
MS-DOS does not exists but a command line edits autoexec.nt having allinformation regarding installed jdk5. I run my java applicat
ion from here. But no compilation.
Environment variables has following information.
JAVA_HOME C:\jdk5.0
CLASSPATH C:\jdk5.0\myPrograms
path %JAVA_HOME%bin
All information in autoexec.nt exists as windows 98 and I run it from command line.
Would you please tell me what is wrong?
Thanks
Aria

It looks like you're missing a slash in the %PATH%, between %JAVA_HOME% and bin.

Similar Messages

  • Problems compiling KVM under windows

    Hi there,
    We tried to compile KVM under windows platforms and failed.
    Compilation failed at the java files under j2me_cldc\tools\jcc
    Therefore we do not have: nativeFunctionTableWin.c and nativeRelocationWin.c
    Can you please help us to compile the java files or send us the *.c files.
    Thanks
    Ronny Sherer.
    mailto:[email protected]

    I had the same trouble and this is what I did to get the KVM to compile.
    1. First of all to compile under windows you need a the Visual Basic Compiler and Linker to compile the C files.
    Also, in order for the makefiles to work properly, you need to install cygwin with basic command line functions (make,find,pwd...). And you need to place the cygwin commands ahead of the windows commands in your PATH eg set PATH = C:\cygwin;C:\windows.
    2. COPY the classes dir in j2me_cldc\bin\common\api
    TO the j2me_cldc\api dir
    3. Then modify the makefiles - where it has $(JAVAC) imediately after it type -target 1.1
    so for example in j2me_cldc\api\makefile the line
    $(JAVAC) -g$(DEBUGFLAG) -d tmpclasses -bootclasspath classes \
    becomes
    $(JAVAC) -g$(DEBUGFLAG) -target 1.1 -d tmpclasses -bootclasspath classes \
    NOTE: nowhere did I find anything to suggest that the KVM must be compiled under Java 1.1 but this is what worked for me.

  • Oracle 8.1.7 Installation Problem on Windows XP Professional

    We have P4 Processor with 128MB DDR RAM with 845 Intel Chipset motherboard & windows XP Professional.
    We are unable to install Oracle 8.1.7 Server.
    Autorun itself is not running.
    Can you please give us suggestions.
    Very Urgent

    You have JIT-compiler problem for Pentium 4.
    You can copying the install CD to disk search for files named symcjit.dll and rename them to symcjit.old (or delete) and run the installer from hard disk.

  • Compilation problem in a JSP page

    Hi all,
    I'm trying to write a jsp page and some java stuff in it.
    It goes something like this -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1255"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"/>
        <title>Michael</title>
      </head>
      <body>
    <%
              String strError="";
    %>
    </body>Now the problem is that I get compilation problem about the use in java -
    "String cannot be resolved to a type"
    I know for sure that in other computers it's work, the question is what I'm missing?
    I have Java VM installed and I've downloaded and installed the latest JDK, what else?
    thanks,
    Michael.

    Michael4488 wrote:
    BalusC wrote:
    Then you should be using JSTL/EL.I don't familiar with this technology, any way - Its work on one computer so in my understanding it should work on the other as well.It is not related to the actual problem. It was just a comment on your code. Using scriptlets is considered as bad practice.
    I understand that of course, but I don't use any configuration file or set any special parameters in my computer.
    What exactly does the compiler need in order to recognize the Java code in the JSP page? If i manually add the JAVA_HOME environment variable it will work?
    where should I refer it to? "..\Java\jre1.6.0_07\lib" will do?It must point to the root installation directory of the JDK (thus not the JRE!).

  • HELP.....!!!!! Chinese jsp compilation problem.....

    Hi,
    Could someone please help on the above mentioned?
    I'm using JDeveloper 3.2.3 for my program development under Chinese windows platform. I have created a simple JSP page, which contains few static Chinese words and I have included the line
    <%@ page contentType="text/html;charset=UTF-8"%>
    at the top of the page. When I tried to compile it using encoding "UTF8" (under compiler option), the compiler gave me this error:
    C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.jsp
    Error: (0) sun.io.MalformedInputException.
    Btw, when I have removed the line <%@ page contentType="text/html;charset=UTF-8"%> from the page and compile, I've got this error:
    C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.jsp
    Warning: (0) ISO-8859-1 character set may not match project compiler setting.
    C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.java
    Error: (0) malformed input character in C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.java.
    I do appreciate your help on this. Thank you.

    Here's some info one of the JSP Developers sent me:
    1. HELP.....!!!!! Chinese jsp compilation problem.....
    The customer is trying to parse a document generated by
    Windows's notepad. When saved in UTF-8, the byte
    order mark is saved too. We have a know bug that
    JSP parser doesn't recognize Byte Order Mark. The
    bug is : 1915285.
    2. CHINESE CHARACTER ON JSP
    . SQLPLUS depends on NLS_LANG setting. If you
    check the windows registry, the default of NLS_LANG
    depends on the OS. The user environment is Traditional
    Chinese, so does NLS_LANG. If we set NLS_LANG
    to .UTF8, SQLPLUS dumps the data in UTF8, however,
    the command prompt will have problem displaying them.
    . For JSP, as mentioned in a previous mail:
    <%@ page contentType="text/html;charset=UTF-8" %> for all languages
    <%@ page contentType="text/html;charset=GB2312" %> for simplified Chinese
    <%@ page contentType="text/html;charset=Big5" %> for traditional Chinese
    . When you enter Chinese characters on a browser,
    the data is automatically converted to page encoding
    (UTF-8 in your case) before sent back to the server.
    But your receiving servlet/JSP needs to have request
    encoding set correctly.
        I'm not sure about the JDeveloper environment,
    but here is a simple JSP you may try to verify your
    OC4J environment:
    a.    To set up the schema:
    connect scott/tiger
    create table tab01(col varchar2(100));
    b. Edit the connect string in nls.jsp
    c. Run the nls.jsp in oc4j instance.
    <!-- nls.jsp -->
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page import="oracle.jdbc.*,java.sql.*,java.io.*"%>
    <HTML>
    <HEAD>
    <TITLE>Hello</TITLE></HEAD>
    <BODY>
    <%
    request.setCharacterEncoding("UTF-8");
    String sampledata="\u7D20";
    String paramValue = request.getParameter("myparam");
    String connStr = "jdbc:oracle:thin:@dlsun478:5521:j2ee01";
    String user = "scott";
    String passwd = "tiger";
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(connStr, user, passwd);
    if (paramValue == null || paramValue.length() == 0) { %>
       <FORM METHOD="GET">
       Please input your name: <INPUT TYPE="TEXT" NAME="myparam"
    value="<%=sampledata%>" size=20>
    <BR>
       <INPUT TYPE="SUBMIT" value="Insert Data">
       </FORM>
    <%
      selectData(conn, out);
    else
    %>
       <H1> Insert Data: <%= paramValue %> </H1>
       <br/>
    <%
      insertData(conn, paramValue);
    %>
    <a href="nls.jsp">back</a>
    <%
    %>
    </BODY>
    </HTML>
    <%!
      public void insertData(Connection aConn, String myval)
        try {
          PreparedStatement stmt = aConn.prepareStatement("insert into tab01
    values(?)");
          stmt.setString(1, myval);
          stmt.executeUpdate();
          aConn.close();
        catch (SQLException e) {
          e.printStackTrace();
      public void selectData (Connection aConn, JspWriter out)
        try {
          Statement stmt = aConn.createStatement( );
          ResultSet r = stmt.executeQuery("SELECT col FROM tab01");
          out.println("<H1>List of Data:</H1>");
          while (r.next()) {
            out.println(r.getString(1)+"<br/>");
          aConn.close();
        catch (SQLException e) {
          e.printStackTrace();
        catch (IOException e) {
          e.printStackTrace();
    %>

  • Unresolve compilation problems

    I have narrowed a bug down to three lines of code. I do not see what is wrong with this code. In fact I am so sure of the code I was wondering if it may be a bug in 1.5
    I get the error:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         Syntax error, insert "AssignmentOperator Expression" to complete Assignment
         Syntax error, insert ";" to complete Statement
         LVN cannot be resolved
         foo cannot be resolved
         e cannot be resolved
    on the the last line of :
    if (useLVN)
             for(Enumeration e = ilocGen.getRoutines().elements(); e.hasMoreElements();)
                  LVN foo = new LVN((BasicBlock) e.nextElement());LVN is a class who's constructor takes a BasicBlock as an argument. iloc.getRoutines() returns a vector and useLVN is a boolean that is set earlier in the program. The program was fully functional until I inserted these three lines. if I replace the body of the for loop with ";" the code will still execute.
    Has anyone seen this kind of error before? Can someone clue me into what I am doing wrong? or is this something that should be taken to a bug report of some kind?

    I recreated the issue. The error appears in the last line of source code. Below is the full source code for all of the classes. As a note I am using jre1.5.0_06 and eclipse 3.2.1 as my IDE. The operating system I am currently using is Windows XP Pro. (Obviously not that it should matter based on the language in question.)
    File:
    BasicBlock.java
    public class BasicBlock {
         public String str;
         public BasicBlock(String in){
              str = in;
    IlocGenerator.java
    import java.util.Vector;
    public class IlocGenerator {
          Vector routines = new Vector();
          public Vector getRoutines() {
                  return routines;
          public void addRoutine(IlocRoutine in){
              routines.add(in);
    LVN.java
    public class LVN {
         public LVN(BasicBlock in){
              System.out.println(in.str);
    IlocRoutine.java
    import java.util.*;
    public class IlocRoutine {
         private Vector Blocks;
         public IlocRoutine(){
              Blocks = new Vector();
         public void addBasicBlock(BasicBlock in){
              Blocks.add(in);          
         public Vector getBasicBlocks() {
             return Blocks;
    MainProg.java
    import java.util.Enumeration;
    public class MainProg {
         public static void main(String[] args) {
              boolean useLVN = true;
              IlocGenerator ilocGen = new IlocGenerator();
              IlocRoutine iR = new IlocRoutine();
              BasicBlock bB = new BasicBlock("one");
              iR.addBasicBlock(bB);
              bB = new BasicBlock("two");
              iR.addBasicBlock(bB);
              ilocGen.addRoutine(iR);
              iR = new IlocRoutine();
              bB = new BasicBlock("three");
              iR.addBasicBlock(bB);
              bB = new BasicBlock("four");
              iR.addBasicBlock(bB);
              ilocGen.addRoutine(iR);
             if (useLVN)
                  for(Enumeration e = ilocGen.getRoutines().elements(); e.hasMoreElements();)
                       for (Enumeration f = ((IlocRoutine) e.nextElement()).getBasicBlocks().elements(); f.hasMoreElements();)
                            LVN foo = new LVN((BasicBlock) f.nextElement());
    }Message was edited by:
    mtu9000 (added environment information)

  • Removing compiler problem markers

    Does anybody know why I keep getting a pop up window that is
    telling me it can't find a marker id at some location number? I am
    getting one of these messages about every other time I save and
    compile and it is getting RATHER ANNOYING!!! What does it mean and
    how do I eliminate it???
    Thanks in advance for helping me lower my blood pressure!!!
    Have an Ordinary Day...
    KomputerMan ~|:-)

    Yes, I am now getting the same error - but slightly different
    wording
    Removing compile problem markers (Time of error: blah blah
    blah...)
    The details section states:
    An internal error occurred during "Removing compiler problem
    markers".
    java.lang.NullPointerException
    I'm able to compile the same code with no problem from the
    command line on a Linux box. Running the clean comand doesn't fix
    this unfortunately.
    Some background info: I'm running a FDS project against a
    JBoss server on a windows XP machine.
    So, I deleted my project and shut down flex builder. Then
    removed the project files (.actionScriptProperties, .project, &
    .flexProperties) and removed the project folder from the flex.war
    folder in the jboss server. Restarted Flex Builder and created a
    new project the same way the project was built. And wa-la the
    problem is gone.
    So, something has gone bad with the project, but I am not
    sure what because a look a the previous project files and they all
    seem normal. I was having problems with the project trying to
    create the "Output Directory" early, but a rebuild of the project
    seemed to fix that too.
    hope this helps.
    --Andy

  • Javac compiler problems

    whenever i try to execute the javac compiler the cmd window comes up and then disappears... im not sure what the problem is

    You need to open a console window, and use javac from there.
    Start here
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html
    for info on how to call javac. If anything goes wrong, you will get to see an error message, which you can post back here.
    This may also be useful to read if you get stuck:
    http://java.sun.com/developer/onlineTraining/new2java/index.html

  • Installation problem on windows server 2008 r2 datacenter edition 64bit

    hi
    today, i tried to install the current maxdb 7.8 release on my virtual server with a windows server 2008 r2 datacenter 64bit edition os. at the first installation, i got an error message something with "rte runtime error". at this point, the installation stopped.
    because of this error, i tried to uninstall the failed installation. this was not possible, in the uninstaller, i didn't see any components, so i can't uninstall.
    so i tried to delete the files manually: the entries in the start menu, and the application's path under "program files"... first, i need to kill a process named "serv.exe", that creates a tcp daemon under port 7200... after killing it, the deletion of the dir in program files was successful.
    this is very very weird, now my server is "contaminated" with an uncomplete uninstallation of maxdb...
    why maxdb 7.8 has problems on windows server 2008 r2 datacenter 64bit edition???
    thanks for feedbacks!
    regards, jan

    > no, because i canceled this virtual server - another method to solve this problem. (i have really no time for things like that..!)
    If you take the time to give exact error messages then someone will be certainly able to help
    > on windows server 2003, there are NO problems.
    Windows 2003 != Windows 2008 - they use a different kernel, a different security system (UAC) and other features that may prevent a succesfull installation in the first place.
    I installed a MaxDB 7.8 just today on Windows 2008 R2 and it worked fine.
    Markus

  • Oracle database 11g release 2 installation problem on windows 7 (64-bit)

    First of all my windows is not genuine, but on my friend's desktop oracle download and installation  worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
    (Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
    it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w,  deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
    and
    then
    I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)"  from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
    The values I filled for
    1) Global Database Name :  orcl
    2) System Identifier : orcl
    3) I chose common password for both SYS and SYSTEM
    4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
    5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
    6) Then after few more nitty-gritty clicks, we are set to go !
    Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
    Username : sys/ as sysdba
    Password : (its the one you created in step 3 stated above )
    After this you are ready to write your first SQL command.

    Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
    Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
    About Database Administrator Security and Privileges

  • Lightroom 3.2 Installation Problem on Windows 7 64-bit

    Lightroom 3.2 Installation Problem on Windows 7 64-bit
    I can't install Lightroom 3.2 (German) on my computer (Windows 7 Professional 64-bit).
    While copying the extracted program files the following error message appears:
    An error occurred during the installation of assembly component {6435B7C0-E0C8-3EA2-91AE-7640034EAFCE}. HRESULT: 0x80070002.
    I found out that other users had the same problem, and couldn't find a solution.
    Perhaps it is a Microsoft .NET Framework related problem. But after installing .NET Framework 4 nothing changed.
    Thanks for ideas to solve the problem.

    Thanks for your advice, Mr. McLion.
    I downloaded the 3.4.1 version and started the installation as administrator. Unfortunately the same error message occured again.
    Then I tried to install the 32-bit version (although I prefer a 64-bit program on a 64-bit operating system). A similar error message appeared at the same point of installation progress, but with another combination of numbers and letters in brackets.

  • Problem on Windows 7 Home Premium cant open program for using codes like visual studio 2012

    I have problem my windows 7 Home Premium because of visual studio 2012..I can't open even in several times, I don't know what happen, and sometime it is so low to process whenksn it to open my laptop..Why is that pleas do reply..ASAP! tha

    Hi,
    According to your description, it seems like VS itself problem, you can try to repair this program through Control Panel for test. If no use, it would be better to post your question at VS forum for further assistance.
    Contact VS forum:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio%2Cvsarch%2Cvsdbg%2Cvstest%2Cvstfs%2Cvsdata%2Cvsappdev%2Cvisualbasic%2Cvisualcsharp%2Cvisualc
    Roger Lu
    TechNet Community Support

  • TS3918 I am experiencing this problem on Windows 7 64 bit.  Any suggestions would be appreciated.

    I am experiencing aniTunes reinstall problem on Windows 7 64 bit.    I have uninstalled the iTunes product and reinstalled 11.02 for windows 7 64 bit but can't get iTunes going again.  The first error message I get is: "The file "iTunes Libirary.itl" cannot be read because it was created by a newer version of iTunes".  The next error message I get is:  "There is a problem sending the command to the program."  Any suggestions on what to do next would be appreciated. ( I would have posted this in Windows area had I been given a choice.)

    I believe that message can sometimes be a sign of a corrupt library file, unless of course you've tried to downgrade to an older build of iTunes. Restore it as described in this post.
    tt2

  • CPU Overheating problem on Windows 8.1 Pro (installed with BootCamp)

    There is a really important overheating problem on windows 8.1 (installed with bootcamp) even i do nothing Cpu is 50-60-70 Celcius degrees. This is really annoying problem. Most of users necessarily need windows OS for using third part programs that doesnt exist on OS X platform. I think this problem is important and has to be fixed as soon as possible.
    My brand new Mac:
    MacBook Pro (Retina, 15-inch, Mid 2014)
    2,5 GHz Intel Core i7
    16 GB 1600 MHz DDR3

    I have the same problem on macbook pro retina 15 late 2013 - top configuration

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

Maybe you are looking for

  • HT1600 Do I have to connect my apple tv to itunes after an update?

    Do I have to connect my apple tv to itunes after an update?

  • ITunes 7.0.1 crashes every time I open it

    I am currently using Windows XP Service Pack 2, and everytime I start iTunes, I get the error message "iTunes has encountered a problem and needs to close". Initially, this happened when the "gapless playback" information was being determined, but no

  • Music doesnt appear on my iPod touch! Please help.

    All of the music on my iTunes account including bought songs and ripped ones won't sync onto my iPod. My laptop iTunes syncs the iPod however none of the music appears on my iPod touch. They are logged into the same apple account and my iPod appears

  • Windows 7 Sync issues

    Ever since getting a new comp a couple of months ago I've been unable to sync my iphone 3gs with my computer. Looking on the web has revealed that this is a well known problem with windows 7 and iphones. however i am yet to find a solution. am i bein

  • Server Admin Access

    I have a user who had full remote admin access to her Mac Server from her Mac desktop. We recently changed out her desktop for a new iMac. She no longer has full admin remote access to the server. Did I miss something on the setup of the new machine?