Find the answer to your Linux question:
Results 1 to 2 of 2
Hello! Iv just manage to get Eclipse to find my java path and now im struggling to actually load eclipse. When i try to launch Eclipse i recieve a Java ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Location
    York, United Kingdom
    Posts
    25

    Eclipse not loading due to invalid too many Arguments


    Hello!

    Iv just manage to get Eclipse to find my java path and now im struggling to actually load eclipse. When i try to launch Eclipse i recieve a Java Web Start - Invalid Argument Error message;

    This is the error message i recieve:
    An error occurred while launching/running the application.

    Category: Invalid Argument Error

    Too many arguments supplied: {/tmp/javawT3Dmel, linux, gtk, x86, /usr/apps/eclipse/./eclipse, Eclipse, 600, 268005, /usr/java/jre1.5.0_06/javaws/javaws, /usr/apps/eclipse/./startup.jar }
    And the exception error:
    TooManyArgumentsException[ Too many arguments supplied: {/tmp/javawT3Dmel, linux, gtk, x86, /usr/apps/eclipse/./eclipse, Eclipse, 600, 268005, /usr/java/jre1.5.0_06/javaws/javaws, /usr/apps/eclipse/./startup.jar }]
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.main(Unknown Source)
    Im starting Eclipse using this command:
    ./eclipse -vm /usr/java/jre1.5.0_06/javaws/javaws

    Has anyone ever had this problem before? Does anyone know of a solution?


    Thanks in advance!





    Adam

  2. #2
    Just Joined!
    Join Date
    Feb 2006
    Location
    York, United Kingdom
    Posts
    25
    Fixed the problem i was loading Eclipse with the wrong Java Virtual Machine!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •