Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.7 KB

SOME_NOTES.md

File metadata and controls

56 lines (47 loc) · 1.7 KB

Raspberry Zero - and others, older versions (A+, B2, etc) might not like a JDK version above 8.


If you have a message like this during the build:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

just re-install your JDK:

sudo apt-get update 
sudo apt-get install openjdk-8-jdk-headless

To switch between JDK versions:

$ [sudo] update-alternatives --config java
$ [sudo] update-alternatives --config javac

Playing Audio on the Raspberry Pi...

$ systemctl list-units | grep ALSA

Displaying (or get) raw files in github

To display the file located in your repo at https://github.com/OlivierLD/raspberry-coffee/tree/master/install.sh, use this url:

https://raw.githubusercontent.com/OlivierLD/raspberry-coffee/master/install.sh
        |                                                           |
        |                                                           The path in the repo
        Notice the machine name

This url can be used in a browser, on in a curl or wget command:

curl -L https://raw.githubusercontent.com/OlivierLD/raspberry-coffee/master/install.sh

or

bash -c "$(curl -L https://raw.githubusercontent.com/OlivierLD/raspberry-coffee/master/install.sh)"

Render a Web page located in github

Use htmlpreview.github.io:

https://htmlpreview.github.io/?https://github.com/OlivierLD/raspberry-coffee/blob/master/RESTTideEngine/web/101.html