FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-java/scripts/compile-java.sh at master · joeferner/node-java · GitHub
joeferner
/
node-java
Public
Notifications
You must be signed in to change notification settings
Fork
288
Star
1.9k
Code
Issues
208
Pull requests
7
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node-java
/
scripts
/
compile-java.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
17 lines (13 loc) · 424 Bytes
Breadcrumbs
node-java
/
scripts
/
compile-java.sh
Copy path
File metadata and controls
executable file
·
17 lines (13 loc) · 424 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!
/bin/sh
set
-eu
SCRIPT_DIR=
$(
dirname
"
$0
"
)
cd
"
${SCRIPT_DIR}
/..
"
if
[
-z
"
${JAVA_HOME
:-
}
"
]
&&
[
-e
"
/usr/libexec/java_home
"
]
;
then
export
JAVA_HOME=
$(
/usr/libexec/java_home -v 11
)
fi
echo
"
Using
$(
javac -version
)
.
"
set
-x
javac -source 1.8 -target 1.8 src-java/node/
*
.java
javac -source 1.8 -target 1.8 test/
*
.java
javac -classpath src-java -h ./src-cpp src-java/node/NodeDynamicProxyClass.java
echo
"
complete!
"
Back
|
FazBrowse Home
|
New Git URL