summaryrefslogtreecommitdiffstats
path: root/src/launcher/runner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher/runner.rs')
-rw-r--r--src/launcher/runner.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launcher/runner.rs b/src/launcher/runner.rs
index 8c7af3d..0f65b49 100644
--- a/src/launcher/runner.rs
+++ b/src/launcher/runner.rs
@@ -111,7 +111,7 @@ pub fn build_arguments<'l, F: FeatureMatcher>(launch: &LaunchInfo<'l, F>, versio
}
pub fn run_the_game(launch: &Launch) -> Result<(), Box<dyn std::error::Error>> {
- Command::new("/usr/lib/jvm/java-8-openjdk-amd64/bin/java")
+ Command::new("java")
.args(launch.jvm_args.iter()
.map(|o| o.as_os_str())
.chain(iter::once(OsStr::new(launch.main_class.as_str())))