Is there a 1liner to start a local http server in java?
With Ruby: ruby -run -e httpd -- . -p 8000
With Python: python -m SimpleHTTPServer 4000
When I searched on Java I found nothing so easy and a lot of confusing results, nothing close to the brief 1 liners above.