Hot answers tagged java
Can you create jar or war files with the JRE? No. The JRE does not ship with jar.exe. In order to create jar or war files you need to install the JDK.
As you already realized the addressable memory of your user-process is limited to 2GB on 32-bit windows (half of the 4GB address-space is reserved for the OS). But you must also take into account that heap-memory is not the only kind of memory the Java-VM uses: there's also requirements for native memory-allocations, stack-space, perm-gen, code-cache etc. ...
echo $JAVA_HOME results in an empty line With the Java optional package or Oracle JDK installed, adding one of the following lines to your ~/.bash_profile file will set the environment variable accordingly. export JAVA_HOME="$(/usr/libexec/java_home -v 1.6)" or export JAVA_HOME="$(/usr/libexec/java_home -v 1.7)" or export ...
My Question is, is it possible to execute my above command in java without making any changes anywhere i.e. by having default settings? sudo -u -S pwd The short answer is no, you will need to change settings to get sudo to do things differently than it currently does. sudo may be the wrong tool for this. Sudo's rules are there to help system ...
Only top voted, non community-wiki answers of a minimum length are eligible