Skip to content

Commit 45b7351

Browse files
committed
added compile script
1 parent cbba585 commit 45b7351

5 files changed

Lines changed: 10 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/build/*
22
node_modules
33
*.node
4-
*.sh
54
*.swp
65
.lock*
76
npm-debug.log

compile-java-code.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash -e
2+
3+
JAVA_VERSION=1.6
4+
JAVAC_OPTS="-source ${JAVA_VERSION} -target ${JAVA_VERSION} -bootclasspath /opt/jdk1.6.0_45/jre/lib/rt.jar"
5+
6+
cd test
7+
javac ${JAVAC_OPTS} *.java
8+
9+
cd ../src-java/node
10+
javac ${JAVAC_OPTS} *.java

test/Test$SubClass.class

0 Bytes
Binary file not shown.

test/Test$SuperClass.class

0 Bytes
Binary file not shown.

test/Test.class

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)