Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) added new lib dir to classpath.

(no author)e2a884031cc7
diff --git a/startYACY.bat b/startYACY.bat
index cd885c50f..f96553a9c 100644
--- a/startYACY.bat
+++ b/startYACY.bat
@@ -1 +1 @@
-@java -classpath classes yacy
+@java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
diff --git a/startYACY.command b/startYACY.command
index 44b994508..8a6717519 100755
--- a/startYACY.command
+++ b/startYACY.command
@@ -1,2 +1,2 @@
cd `dirname $0`
-java -classpath classes -server yacy
+java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar -server yacy
diff --git a/startYACY.sh b/startYACY.sh
index 339f41a9e..bfa9765f7 100755
--- a/startYACY.sh
+++ b/startYACY.sh
@@ -8,11 +8,11 @@ else
cd `dirname $0`
if [ x$1 != x-d ]
then
- nohup java -classpath classes yacy >> yacy.log &
+ nohup java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy >> yacy.log &
echo "YaCy started as daemon process. View it's activity in yacy.log"
echo "To stop YaCy, please execute stopYACY.sh and wait some seconds"
echo "To administrate YaCy, start your web browser and open http://localhost:8080"
else
- java -classpath classes yacy
+ java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
fi
fi
diff --git a/startYACY_hidden.bat b/startYACY_hidden.bat
index 575914c0d..ac18710dc 100644
--- a/startYACY_hidden.bat
+++ b/startYACY_hidden.bat
@@ -5,5 +5,5 @@ REM Script contributed by Roland Ramthun.
REM This script starts YaCy without any visible window and should work on all Windows-Operating-Systems which know the "start" command.
REM You could verify this by typing "HELP" into cmd.exe, which lists all commands supported by your specific OS.
-start /B javaw -classpath classes yacy
+start /B javaw -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
exit
\ No newline at end of file
diff --git a/startYACY_noconsole.bat b/startYACY_noconsole.bat
index c01b26b15..0a6ed2d36 100644
--- a/startYACY_noconsole.bat
+++ b/startYACY_noconsole.bat
@@ -1,2 +1,2 @@
-@javaw -classpath classes yacy
+@javaw -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
@echo You can close the console safely
\ No newline at end of file
diff --git a/stopYACY.bat b/stopYACY.bat
index 5704cc083..a74fba1a6 100644
--- a/stopYACY.bat
+++ b/stopYACY.bat
@@ -1,2 +1,2 @@
-@java -classpath classes yacy -shutdown
+@java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown
diff --git a/stopYACY.command b/stopYACY.command
index b5e0e9ac6..4d50bab9e 100755
--- a/stopYACY.command
+++ b/stopYACY.command
@@ -1,2 +1,2 @@
cd `dirname $0`
-java -classpath classes yacy -shutdown
+java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown
diff --git a/stopYACY.sh b/stopYACY.sh
index 650ead523..23f354878 100755
--- a/stopYACY.sh
+++ b/stopYACY.sh
@@ -1,5 +1,5 @@
#!/bin/sh
cd `dirname $0`
-java -classpath classes yacy -shutdown
+java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy -shutdown
echo "please wait until the YaCy daemon process terminates"
echo "you can monitor this with 'tail -f yacy.log' and 'fuser yacy.log'"
\ No newline at end of file