facebook

JSP validator does not work in 3.8.4beta

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 44 total)
  • Author
    Posts
  • #225318 Reply

    msmott
    Participant

    Hi guys,
    Looks like JSP validator does not work in 3.8.4beta for eclipse3.1M4
    under the same conditions it works fine in 8.3.4GA for eclipse 3.0.1
    I have both installed on the same JDK….I have tested 1.4.2_06, 1.4.2_07 and 1.5.0_01 – same result….

    Anyone else is having problems with JSP validator?

    Thanks,

    Mike

    #225321 Reply

    Riyad Kalla
    Member
    #225323 Reply

    Riyad Kalla
    Member

    Mike,
    Please open up your log file (<workspace dir>\.metadata\.log) and look for exceptions related to “javac” and “CannotCreateProcess”. If the javac executable is not in your System’s PATH or you do not luanch MyEclipse with the -vm argument pointing to a JDK (not a JRE) then validation WILL NOT work as the pages cannot be compiled.

    Relying on javac like this is temporary and should be remedied in a future release.

    #225331 Reply

    msmott
    Participant

    Riyad, thanks for quick reply and sorry for the new topic…
    I guess i did forgot to mention that i’m starting with -vm param….
    I get the compilation errors (red circles on the left side and red rectangles on the right side) only when i save the jsp.
    What i dont get is syntax runtime checking (squiggly line) – same problem as in jwach366 case….

    Also the context menu on the jsp editor has double entries: for example MyEclipse submenu has Run Validation twice and Remove All Validation Markers twice….

    Thanks,

    Mike

    #225334 Reply

    Riyad Kalla
    Member

    I get the compilation errors (red circles on the left side and red rectangles on the right side) only when i save the jsp.

    This is correct behavior

    What i dont get is syntax runtime checking (squiggly line) – same problem as in jwach366 case….

    You may not get this, it depends on your errors.

    Also the context menu on the jsp editor has double entries:

    Please tell me the version of MyEclipse you are using from Window > Preferences > MyEclipse.

    Double entries are usually a sign of a bad install or two conflicting installs. Make sure you are opening your JSP pages with our editor (right click on JSP file > Open With > MyEclipse JSP Editor)

    Do you have WTP installed?

    #225633 Reply

    yngvewb
    Member

    I don’t get any JSP-validation-errors at all. I used to have validation-errors in in an older version of MyEclipse.

    I’m starting MyEclipse with the eclipse.exe -vm=”C:\j2sdk1.4.2_05\bin”

    No exceptions related to “javac” and “CannotCreateProcess” in \.metadata\.log

    Win 2000, Eclipse 3.1.0, MyEclipse 3.8.4

    #225635 Reply

    Riyad Kalla
    Member

    I’m starting MyEclipse with the eclipse.exe -vm=”C:\j2sdk1.4.2_05\bin”

    This is the problem, the -vm argument needs to point at the actual executable (java.exe or javaw.exe), not just the dir.

    #225656 Reply

    yngvewb
    Member

    Thanks for the fast reply! Tried to change the -vm argument to point at C:\j2sdk1.4.2_05\bin\java.exe, and when that didn’t do the trick, I tried javaw.exe , whitch didn’t help much either.

    I still get validation errors from normal java files, but nothing from my JSPs.

    #225668 Reply

    Riyad Kalla
    Member

    Check the Project > Build Automatically option, is that selected? It needs to be…

    #225669 Reply

    yngvewb
    Member

    Yes. Done a lot of clean and builds manually to. But it doesn’t help. Argh! I’m willing to try anything to get the JSP-validation back.

    Can it be that my preferences are messed up? Does anyone have a good preferences exsport file?

    #225670 Reply

    Riyad Kalla
    Member

    1) Open up your project properties, go to MyEclipse-Validation, do you have “Override validation preferences” checked here? If so, try and uncheck it.
    2) Go to Window > Prefs > MyEclipse > Validation, do you have all the check boxes checked and all the validators checked EXCEPT “HTML Syntax Validator”? What is your max numer of validation messages set to? Try and click Restore Defaults and OK
    3) Close MyEclipse, go to <workspace dir>\.metadata and erase the .log file, now start MyEclipse backup and build your project. Copy and paste the contents of .log here for me to see (hopefully it will have warnings/errors or exceptions about validation).
    4) Paste the first few pages of Help > About > Configuration Details here for me to look at to make sure your JDK is gettingpicked up and not your JRE/bin dir. TIP: Before pasting find and remove all lines with the text “LICENSE” in them.

    #225749 Reply

    yngvewb
    Member

    @support-rkalla wrote:

    1) Open up your project properties, go to MyEclipse-Validation, do you have “Override validation preferences” checked here? If so, try and uncheck it.

    All my options here are inactive. But “override validation preferences” is unchecked.
    @support-rkalla wrote:

    2) Go to Window > Prefs > MyEclipse > Validation, do you have all the check boxes checked and all the validators checked EXCEPT “HTML Syntax Validator”? What is your max numer of validation messages set to? Try and click Restore Defaults and OK

    “HTML Syntax Validator” was checked. Restored defaults, but nothing new on validation.
    @support-rkalla wrote:

    3) Close MyEclipse, go to <workspace dir>\.metadata and erase the .log file, now start MyEclipse backup and build your project. Copy and paste the contents of .log here for me to see (hopefully it will have warnings/errors or exceptions about validation).

    This is all errors from the build:
    !SESSION 2005-02-25 09:54:38.342 ———————————————–
    eclipse.buildId=I20041216-2000
    java.version=1.4.2_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=no_NO
    Framework arguments: -vm=C:\j2sdk1.4.2_05\bin\javaw.exe
    Command-line arguments: -os win32 -ws win32 -arch x86 -vm=C:\j2sdk1.4.2_05\bin\javaw.exe

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-25 09:54:38.342
    !MESSAGE
    25.feb.2005 09:54:38 com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
    SEVERE: Javac exception
    Error running javac.exe compiler
    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.
    executeExternalCompile(DefaultCompilerAdapter.java:446)
    at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1694)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:574)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:158)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:192)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:221)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:224)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:272)
    at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:198)
    at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:190)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-25 09:54:38.342
    !MESSAGE Caused by: java.io.IOException: CreateProcess: javac.exe -classpath
    D:\Programfiler\eclipse31m4\startup.jar;D:\Programfiler\Java\j2re1.4.2_05\lib
    \rt.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\sunrsasign.jar;D:\Programfiler
    \Java\j2re1.4.2_05\lib\jsse.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\jce.jar;
    D:\Programfiler\Java\j2re1.4.2_05\lib\charsets.jar;D:\Programfiler\Java\j2re1.4.2_05\lib
    \ext\dnsns.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\ldapsec.jar;D:\Programfiler\Java\j2re1.4.2_05\
    lib\ext\localedata.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar
    ;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data
    \libraryset\1.4\activation.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4
    \data\libraryset\1.4\javax.servlet.jar;D:\Programfiler\MyEclipse384\eclipse\plugins
    \com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;
    D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.
    executeExternalCompile(DefaultCompilerAdapter.java:443)
    … 39 more
    — Nested Exception —

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-25 09:54:38.352
    !MESSAGE java.io.IOException: CreateProcess: javac.exe -classpath D:\Programfiler\eclipse31m4\startup.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\rt.jar;
    D:\Programfiler\Java\j2re1.4.2_05\lib\sunrsasign.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\jsse.jar;
    D:\Programfiler\Java\j2re1.4.2_05\lib\jce.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\charsets.jar;
    D:\Programfiler\Java\j2re1.4.2_05\lib\ext\dnsns.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\ldapsec.jar;
    D:\Programfiler\Java\j2re1.4.2_05\lib\ext\localedata.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\
    ext\sunjce_provider.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4
    \data\libraryset\1.4\activation.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt
    .core_3.8.4\data\libraryset\1.4\javax.servlet.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\
    com.genuitec.eclipse
    .j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;D:\Programfiler\MyEclipse384\
    eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
    at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile
    (DefaultCompilerAdapter.java:443)
    at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1694)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
    at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
    at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:574)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:158)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:192)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:221)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:224)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:272)
    at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:198)
    at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:190)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-25 09:54:38.352
    !MESSAGE 25.feb.2005 09:54:38 com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-25 09:54:38.352
    !MESSAGE SEVERE: Env: Compile: javaFileName=/C:/DOCUME~1/ADMINI~1/LOKALE~1/Temp/myeclipse-jspcc//org/apache/jsp\index_jsp.java

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 2005-02-25 09:54:38.352
    !MESSAGE classpath=D:\Programfiler\Java\j2re1.4.2_05\lib\rt.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\sunrsasign.
    jar;D:\Programfiler\Java\j2re1.4.2_05\lib\jsse.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\jce.jar;D:\Programfiler\Java\j2re1.4
    .2_05\lib\charsets.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\dnsns.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\ldapsec.
    jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\localedata.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar;D:
    \Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar;D:\Progr
    amfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar;D:\Programf
    iler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;D:\Program
    filer\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-
    j2ee.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-
    jaxrpc.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-
    jsr77.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-
    saaj.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\mail.jar;D:\
    Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\namespace.jar;D:\Program
    filer\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\xml-
    apis.jar;D:\Programfiler\eclipse\workspace\Sportstabell3\WebRoot\WEB-
    INF\classes;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jasper-
    runtime.jar;D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jsp-api.jar
    cp=D:\Programfiler\eclipse31m4\startup.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\rt.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\sunrsasign.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\jsse.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\jce.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\charsets.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\ext\dnsns.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\ext\ldapsec.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\ext\localedata.jar
    cp=D:\Programfiler\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar
    cp=
    D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar

    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp
    .jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jaxrpc.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jsr77.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-saaj.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\mail.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\namespace.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\xml-apis.jar
    cp=D:\Programfiler\eclipse\workspace\Sportstabell3\WebRoot\WEB-INF\classes
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jasper-runtime.jar
    cp=D:\Programfiler\MyEclipse384\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.4\lib\jsp-api.jar
    work dir=C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\myeclipse-jspcc
    extension dir=D:\Programfiler\Java\j2re1.4.2_05\lib\ext
    srcDir=C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\myeclipse-jspcc
    compiler=extJavac
    include=org/apache/jsp/index_jsp.java

    #225750 Reply

    yngvewb
    Member

    @support-rkalla wrote:

    4) Paste the first few pages of Help > About > Configuration Details here for me to look at to make sure your JDK is gettingpicked up and not your JRE/bin dir. TIP: Before pasting find and remove all lines with the text “LICENSE” in them.

    *** Date: 25.02.05 09:55

    *** Platform Details:

    *** System properties:
    awt.toolkit=sun.awt.windows.WToolkit
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=I20041216-2000
    eclipse.commands=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    D:\Programfiler\eclipse31m4\eclipse.exe -showsplash 600
    -exitdata
    D:\Programfiler\eclipse31m4\eclipse.exe -exitdata 310_3c
    -vm=C:\j2sdk1.4.2_05\bin\javaw.exe
    -vm
    C:\WINNT\system32\javaw.exe
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1109321634639
    eclipse.vm=C:\WINNT\system32\javaw.exe
    eclipse.vmargs=-Xmx512M
    -Dosgi.splashLocation=D:\Programfiler\MyEclipse384\MyEclipseSplash.bmp
    -cp
    D:\Programfiler\eclipse31m4\startup.jar
    org.eclipse.core.launcher.Main
    eof=eof
    file.encoding=Cp1252
    file.encoding.pkg=sun.io
    file.separator=\
    java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob=sun.awt.windows.WPrinterJob
    java.class.path=D:\Programfiler\eclipse31m4\startup.jar
    java.class.version=48.0
    java.endorsed.dirs=D:\Programfiler\Java\j2re1.4.2_05\lib\endorsed
    java.ext.dirs=D:\Programfiler\Java\j2re1.4.2_05\lib\ext
    java.home=D:\Programfiler\Java\j2re1.4.2_05
    java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\
    java.library.path=C:\WINNT\system32;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programfiler\j2sdk1.4.2_04\bin;C:\Programfiler\j2sdk1.4.2_04\bin;D:\Programfiler\cvsnt;D:\PROGRA~1\GNU\WINCVS~1.3\CVSNT;D:\Programfiler\apache-ant-1.6.2\bin;D
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.4.2_05-b04
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.4
    java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.4.2_05
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=1.4.2_05-b04
    line.separator=

    org.osgi.framework.executionenvironment=
    org.osgi.framework.language=no
    org.osgi.framework.os.name=Windows2000
    org.osgi.framework.os.version=5.0
    org.osgi.framework.processor=x86
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.2.0
    os.arch=x86
    os.name=Windows 2000
    os.version=5.0
    osgi.arch=x86
    osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore=d:\Programfiler\eclipse31m4\configuration\org.eclipse.osgi\bundles
    osgi.configuration.area=file:/d:/Programfiler/eclipse31m4/configuration/
    osgi.framework=file:/d:/Programfiler/eclipse31m4/plugins/org.eclipse.osgi_3.1.0/
    osgi.framework.beginningstartlevel=1
    osgi.framework.version=3.0.0
    osgi.frameworkClassPath=core.jar, console.jar, osgi.jar, resolver.jar, defaultAdaptor.jar, eclipseAdaptor.jar
    osgi.install.area=file:/d:/Programfiler/eclipse31m4/
    osgi.instance.area=file:/D:/Programfiler/eclipse/workspace/
    osgi.logfile=D:\Programfiler\eclipse\workspace\.metadata\.log
    osgi.manifest.cache=d:\Programfiler\eclipse31m4\configuration\org.eclipse.osgi\manifests
    osgi.nl=no_NO
    osgi.os=win32
    osgi.splashLocation=D:\Programfiler\MyEclipse384\MyEclipseSplash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.ws=win32
    path.separator=;
    sun.arch.data.model=32
    sun.boot.class.path=D:\Programfiler\Java\j2re1.4.2_05\lib\rt.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\i18n.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\sunrsasign.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\jsse.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\jce.jar;D:\Programfiler\Java\j2re1.4.2_05\lib\charsets.jar;D:\Programfiler\Java\j2re1.4.2_05\classes
    sun.boot.library.path=D:\Programfiler\Java\j2re1.4.2_05\bin
    sun.cpu.endian=little
    sun.cpu.isalist=pentium i486 i386
    sun.io.unicode.encoding=UnicodeLittle
    sun.java2d.fontpath=
    sun.os.patch.level=Service Pack 4
    user.country=NO
    user.dir=D:\Programfiler\eclipse31m4
    user.home=C:\Documents and Settings\Administrator
    user.language=no
    user.name=Administrator
    user.timezone=Europe/Berlin
    user.variant=

    #225766 Reply

    Riyad Kalla
    Member

    yngvewb,
    I just checked with one of the devs and it turns out I was wrong about the -vm switch, I thought it helped Eclipse find the rest of the Java executables, but I was wrong.

    The problem with your setup is that your System PATH is including the JRE’s\bin directory instead of the JDK’s\bin directory, so Eclipse starts up, uses the JDK’s javaw.exe executable to run itself BUT when it goes to validate the JSP page with javac.exe, it looks in your system path (which only has your JRE\bin directory in it) and cannot find javac.exe, so it barfs and throws up these exceptions.

    The solution is to edit your System’s PATH environment variable and add your JDK’s \bin directory to the front of the list. Sorry for the misdirection before.

    #225849 Reply

    yngvewb
    Member

    Jesus Christ! It worked! JSP validation is working. I removed my JRE\bin directory and added my JDK\bin directory in my system path. Thanks support-rkalla!

Viewing 15 posts - 1 through 15 (of 44 total)
Reply To: JSP validator does not work in 3.8.4beta

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