‘C:/Program’: No such file or directory

  apache-spark, bash, livy, windows

When I try to start the livy-server via command prompt using "bash livy-server start", I get the following error which is because of the space in "Program Files".

failed to launch C:/Program Files/Java/jdk1.8.0_301/bin/java -cp /c/Users/user_name/apache-livy-0.7.1-incubating-bin/jars/*:/c/Users/user_name/apache-livy-0.7.1-incubating-bin/conf: org.apache.livy.server.LivyServer:
nice: ‘C:/Program’: No such file or directory
full log in /c/Users/user_name/apache-livy-0.7.1-incubating-bin/logs/livy–server.out

Source: Windows Questions

LEAVE A COMMENT