Switching between different JDK versions in Windows

The set command only works for the current terminal. To permanently set a system or user environment variable you can use setx. You can set the variable for the current user like this: setx JAVA_HOME “C:\Program Files\Java\jdk1.7.0_72” You can also set the variable system wide (Note: The terminal must be run as administrator fo this) … Read more

cURL OpenSSL error error:0308010C:digital envelope routines::unsupported

Meta: this isn’t really programming or development, and would probably be better on superuser or maybe security.SX, but this is issue is likely to become more common as OpenSSL 3.0 spreads and I wanted to get the answer out. OpenSSL 3.0.x (and up) by default doesn’t support old/insecure algorithms, but until recently most software that … Read more

How do I change the default browser used by Jupyter Notebook in Windows?

Thanks to @Darthbith and this post How to change the default browser used by the ipython/jupyter notebook in Linux? I was able to figure it out: Step 1: To open Anaconda Prompt from the Start Menu and type # for old notebook and JupyterLab < 3.0, or jupyter notebook –generate-config # for new nbclassic and … Read more

The filename, directory name, or volume label syntax is incorrect inside batch

set myPATH=”C:\Users\DEB\Downloads\10.1.1.0.4″ cd %myPATH% The single quotes do not indicate a string, they make it starts: ‘C:\ instead of C:\ so %name% is the usual syntax for expanding a variable, the !name! syntax needs to be enabled using the command setlocal ENABLEDELAYEDEXPANSION first, or by running the command prompt with CMD /V:ON. Don’t use PATH … Read more

How can I run a docker windows container on osx?

I know I am late to the party but as of 2021, this is the easiest setup to get a windows container running on macOS: https://github.com/StefanScherer/windows-docker-machine Install vagrant and virtual box Clone the repository above and change directory into it vagrant up –provider virtualbox 2019-box docker context use 2019-box I followed this setup and I … Read more