THRIFT-1133 Java and JavaScript tutorial is broken since we have Java maven deployment
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090454 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/java/JavaServer b/tutorial/java/JavaServer
index d821715..cf977ca 100755
--- a/tutorial/java/JavaServer
+++ b/tutorial/java/JavaServer
@@ -18,9 +18,6 @@
# specific language governing permissions and limitations
# under the License.
#
-THIS_DIR=$(dirname $0)
-LIB_DIR=$THIS_DIR/../../lib/java/
-IVY_DIR=$LIB_DIR/build/ivy/lib/
# Optionally the following properties could be set for SSL instead
# of configuring it in the code
@@ -29,4 +26,4 @@
# -Djavax.net.ssl.keyStore=../../lib/java/test/.keystore
# -Djavax.net.ssl.keyStorePassword=thrift
-java -cp $IVY_DIR/*:$LIB_DIR/libthrift.jar:tutorial.jar JavaServer
+java -cp ../../lib/java/build/lib/*:../../lib/java/build/*:tutorial.jar JavaServer