facebook

javac.exe not in path, JSP validation fails [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #217113 Reply

    LAs3R
    Member

    What operating system and version are you running?
    ->windows 2000
    What Eclipse version and build id are you using?
    ->Version: 3.0.1
    ->Build id: 200409161125
    Was Eclipse freshly installed for MyEclipse?
    -> yep
    Are any other external plugins installed?
    -> nope
    How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    – > 8
    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    -> Version: 3.8.2
    -> Build id: 200409171200-3.8.2
    What JDK version are you using to run Eclipse? (java -version)
    -> 1.4.2
    What JDK version are you using to launch your application server?
    -> 1.3.1_06
    What steps did you take that resulted in the issue?
    ->
    What application server are you using?
    -> Weblogic 6.1

    Hello,
    i have problems with jsp validation :
    1. errors when they re detected dont appear in myEclipse perspective
    2. somes errors are not recognized, ex :

    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    
    xyz.trim(); // xyz is not declared in my jsp but no error detected 
    %>

    tx in advance

    #217207 Reply

    Riyad Kalla
    Member

    Make sure that javac.exe is in your system PATH, this is what the JSP editor executes to validate the page aftering running Jasper2 on the page. You can double check if it is, by opening up a console and typing “javac.exe”

    #217217 Reply

    LAs3R
    Member

    javac was not int sytem path and now it works fine
    tx a lot mate

    anyway, isnt myeclipse compiler same as eclipse one ?

    #217243 Reply

    Riyad Kalla
    Member

    Glad its working.

    Actually the compiler used to be the JDT compiler, now its the javac compiler (after we run Jasper2 on the JSP page) and I’m not sure if we’ll move back to the JDT compiler again… we are in a transitioning stage now.

    #217340 Reply

    LAs3R
    Member

    ok 🙂

    #217365 Reply

    Riyad Kalla
    Member

    I asked about this and aparently setting up the classpath to compile a JSP page, so the JDT compiler can be run is a mofo, so we may/may not get around to this for 3.8.3 but I get the sense we would like to move back to this eventually.

    #217727 Reply

    Launching javac for every page is a terrible solution. It takes about 10sec for every page in my system.

    I can’t understand why this bug report is marked as closed when so many people have this problem.

    #217736 Reply

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    Also what are your hardware specs? How big is the JSP page that is being compiled?

    Launching javac for every page is a terrible solution.

    It is only temporary, we are aware of the short commings.

    I can’t understand why this bug report is marked as closed when so many people have this problem.

    We are not aware of ‘so many people’ having a problem with this…

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: javac.exe not in path, JSP validation fails [Closed]

You must be logged in to post in the forum log in