Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    embedded_server.bat: The syntax of the command is incorrect.

    hi guys,
    I am not very good with tomcat server and stuff so please help me out here.

    When I click on start_embedded_server.bat it just exits without an error.
    When I run it from command prompt it says "The syntax of the command is incorrect." and exits.

    I am on windows xp and have checked my java installation and path settings. I use other java applications fine on my box.

    Please advise,
    Thankyou,
    Nikun

    #2
    It sounds like you may have edited start_embedded_server.bat file, possibly with a program that has saved the file back to disk in a mangled format (eg RTF instead of plain text). Get a fresh copy and try again.

    Comment


      #3
      I had the same trouble with the bat :p, but fixed it editing the file smartclientSDK\WEB-INF\bin\embeddedTomcat.bat

      my trouble was that i have vista64 and have java "1.6.0_16" for 64 bits and it is installed on
      C:\Program Files (x86)\Java\jdk1.6.0
      and it exactly is what i have on variable JAVA_HOME

      by some strange reason on the embeddedTomcat.bat
      the line
      echo:Using user-defined JAVA_HOME: %JAVA_HOME%
      throws the error and it stops running the bat.
      so i fixed locally as
      echo:Using user-defined JAVA_HOME: "%JAVA_HOME%"

      and all run smooth

      Comment


        #4
        Thanks, we've made this change now.

        Comment

        Working...
        X