Skip to main content

All Questions

0votes
1answer
1kviews

How to start Jetty using start.jar from the console?

Having installed Jetty through apt how do I start the web server to get to a welcome page? Trying: java -jar /usr/share/jetty9/start.jar results in: ERROR : Nothing to start, exiting ... Usage: java ...
Nicholas Saunders's user avatar
2votes
1answer
1kviews

Why are environment variables not resolved when double-clicking .desktop file?

I have a Java application which is launched by a shell script. The first part of the shell script is to resolve the Java location by looking at $JAVA_HOME. The shell script is working well if launched ...
akasolace's user avatar
1vote
1answer
1kviews

How to set global variable visible even for sudo commands?

I have installed Maven on Ubuntu 16.04 following instructions. I edited /etc/environmentand added path to maven/bin folder to $PATH variable. Under my normal user everything works just fine, but ...
lot's user avatar
  • 113

close