I’m experimenting with AWS Lambda by following along with the instructions here: https://github.com/awsdocs/aws-lambda-developer-guide/tree/main/sample-apps/java-basic. Part of the setup instructions require running this script (2-deploy.sh): When I run the script in WSL I get a parameter validation error: However, when I manually run the last two lines of the file with the debug output it works correctly: Why does this fail when
Tag: windows-subsystem-for-linux
installing tomcat 9 on WSL
After installing tomcat 9 on WSL, it isn’t recognized by system. Since systemctl command doesn’t work on WSL, I used below command: returning I followed 2 ways to install, but the same problem occurred. References are: https://www.digitalocean.com/community/tutorials/install-tomcat-9-ubuntu-1804 https://linuxconfig.org/ubuntu-20-04-tomcat-installation Is there any clue for this problem? Here is my environment: windows 10 version 2004 ubuntu 20.04 (WSL) openjdk version: “1.8.0_265” update:
Installing Oracle JDK on Windows subsystem for Linux
When trying to use the Linux version of Oracle’s JDK on the latest Windows 10 build having support for bash, I am running into a problem with the prompt hanging whenever attempting to invoke the java binary. Typing even something as simple as java -version hangs and I have to terminate the process to resume control. Anyone got this working