Hi,
I installed solr 1.4 on Windows7 64bit with Java 1.6.0_17-b04 64bit and
when
I run the command:
java -Dsolr.solr.home=multicore -jar start.jar
I get the following error message:
PS C:\nginx\solr\jetty> java
-Dsolr.solr.home=c:\nginx\solr\solr\multicore -jar start.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
/solr/home=c:\nginx\solr\solr\multicore
Caused by: java.lang.ClassNotFoundException:
.solr.home=c:\nginx\solr\solr\multicore
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class:
.solr.home=c:\nginx\solr\solr\multicore. Program will exit.
This is what I did to try to solve the problem but failed:
1. I googled quite a lot but didn't see anyone with a similar problem.
2. I tried running java in compatibility modes Vista & XP and running it
as administrator but none of it worked.
3. I installed Java 32 bit but it didn't solve the problem
4. I tested on Windows Vista 32 bit and Mac OSX snow tiger and it works
without a problem
5. I tried to analyze the java log files on Windows 7 x64 but there was
nothing there ...
Basically whatever home other than the default (solr/) doesn't work.
Has anyone else encountered this problem? and would anyone have a clue
how to trouble shoot
Any help would be appreciated.
Best regards
Vladan