Skip to content

Commit

Permalink
fix java version one more place
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetVishnya committed Mar 15, 2024
1 parent e6a9b51 commit c995abf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion casr/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4267,7 +4267,12 @@ fn test_casr_java() {
.to_string();
println!("Test java with native lib: casr-san run");
let output = Command::new(*EXE_CASR_JAVA.read().unwrap())
.args(["--stdout", "--", "java", &paths[1]])
.args([
"--stdout",
"--",
"/usr/lib/jvm/java-17-openjdk-amd64/bin/java",
&paths[1],
])
.env("LD_PRELOAD", clang_rt.trim())
.env("LD_LIBRARY_PATH", &paths[4])
.env("PATH", format!("{}:{}", env!("PATH"), cargo_target_dir))
Expand Down

0 comments on commit c995abf

Please sign in to comment.