/ Published in: Scala
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh L=`dirname $0`/../lib cp=`echo $L/*.jar|sed 's/ /:/g'` exec scala -classpath $cp $0 $@ !# import com.my.special.World val world = new World world.hello