Posted By

jerryvig on 02/02/12


Bash java Scala classpath

Versions (?)

Set CLASSPATH for Scala

 / Published in: Bash

This sets the classpath for scala in the lib directory.

  1. #!/bin/bash
  3. export CLASSPATH=`pwd`
  4. for f in *.jar; do export CLASSPATH=$CLASSPATH:`pwd`/$f; done

Report this snippet  

You need to login to post a comment.