Hitachi Vantara Pentaho Community Forums
Results 1 to 11 of 11

Thread: Can't run Kettle3.0.0 in Windows 2000

  1. #1

    Default Can't run Kettle3.0.0 in Windows 2000

    I am trying to install Kettle 3.0.0 on a windows 2000 box. I can't get it to run as I get a message that the "The input line is too long". I've added some lines and it the SWT libraries section that has the error. Is there a way to fix this?

    I've tried breaking the CLASSPATH into 2 variables (CP,CP2), but I then get the error when I try to start Java.

    Thanks in advance.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    And does JDK1.5 still install on 2000?

    Regards.
    Sven

  3. #3
    Join Date
    Apr 2007
    Posts
    12

    Default

    Hello !

    I get the same problem on a win2000 server sp4 jre1.6.
    2.5.2. Version runs without problems on the machine!

    Any suggestions?

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    I looked it up. Windows 2000 is limited to a command-line of 2000 characters.
    It's likely that because of the many libraries we need, you are getting a "classpath" that is really long.

    Try this bat file (rename to SpoonWindows2000.bat) : SpoonWindows2000.txt

    Report back if it works. If so, we'll include it,

    Matt

  5. #5
    Join Date
    Apr 2007
    Posts
    12

    Default

    Hi Matt !

    Thanks for your reply.
    Now I get the message: Couldn't find main class!

    thanks
    Last edited by webmob; 11-12-2007 at 06:34 AM.

  6. #6
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Bad news, it's probably not expanding the "*.jar" statements.

    Mmm, here is another idea: remove all the JDBC drivers you don't need from libext/JDBC
    That should greatly reduce the length of the class path.

    Matt

  7. #7
    Join Date
    Apr 2007
    Posts
    12

    Default

    Hi Matt !

    You did it!

    I removed not needed drivers and 3.0RC2 starts up.

    Tanks a lot!

  8. #8

    Default Another working solution

    I renamed my directories to something shorter ( therefore less useful), editted the .bat to use the new name and that also works.

  9. #9
    Join Date
    Jun 2007
    Posts
    17

    Default

    Here is a clean solution:
    Change spoon.bat by removing -cp %CLASSPATH% when setting OPT.

    Since CLASSPATH is constructed in bat and not given to VM, VM will take it automatically when running.

    This is particularely usefull for my version of kettle, since I've added over 40 custom jars.

    Regards,

    Thibault.

  10. #10
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Thibault, the point for Spoon is somewhat moot now that we have a launcher (Kettle.exe) and an installer for Windows.

    Matt

  11. #11

    Default Possible solution to the Win2K Path problem

    Quote Originally Posted by MattCasters View Post
    Thibault, the point for Spoon is somewhat moot now that we have a launcher (Kettle.exe) and an installer for Windows.

    Matt
    There is a simple solution to this, that should work for every JDK/JRE since 1.4.x:

    java.ext.dirs

    That's a system property, that is automatically searched by the VM, so you need only to specify the directory and not each and every jar. Normally "java.ext.dirs" points to <JavaLocation>\jre\lib\ext, but you can supply multiple paths delimited by the system path separator (; on Windows).

    Documentation for this nifty little feature: http://java.sun.com/j2se/1.4.2/docs/...ions/spec.html
    especially the last paragraph of "Installed Optional Packages"

    Greets,
    Christian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.