Cant make elasticsearch run on my Mac Snow Leo - too many arguments

Hello,

I just can't make ElasticSearch start on my mac. I get this error
message all the time:

./elasticsearch: line 96: [: too many arguments
Exception in thread "main" java.lang.NoClassDefFoundError: Vault/
elasticsearch/work/heap
Caused by: java.lang.ClassNotFoundException:
Vault.elasticsearch.work.heap
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Can someone please help me?

How do you start it?
On Wednesday, December 8, 2010 at 11:25 AM, MWidman wrote:

Hello,

I just can't make Elasticsearch start on my mac. I get this error
message all the time:

./elasticsearch: line 96: [: too many arguments
Exception in thread "main" java.lang.NoClassDefFoundError: Vault/
elasticsearch/work/heap
Caused by: java.lang.ClassNotFoundException:
Vault.elasticsearch.work.heap
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Can someone please help me?