What package creates /usr/lib/jvm/default-java?
275
You can search for this information using apt-file. You may need to setup apt-file before you can use it.
sudo apt-get install apt-file #Installs
sudo apt-file update #Updates local file list
apt-file search <path to file/directory> #Does the searching
It reports that default-jre-headless
is the package you should be looking for.
You may find this question on Super User useful
Related videos on Youtube
Author by
user2583104
Updated on September 18, 2022Comments
-
user2583104 almost 2 years
I am a beginner in php, I noticed there is a third method for passing the form by using the $_REQUEST method.So can somebody please tell me how to use this and what is the difference compared to the other two method.Also out of all three which one is more secured to use for developing a log in page.Because on some website it said it is not recommend to use $_REQUEST I am not sure why.Really appreciate thanks.
-
Michael Berkowski almost 11 yearsBe sure to read the official documentation on
$_REQUEST
-
Chris Brown almost 11 years
-
mario almost 11 years
$_REQUEST
is a mixture of$_GET
and$_POST
nowadays. It was widely discouraged because of$_COOKIES
being also piled in in previous php.ini defaults. The issue being cookie fixation issues (often portrayed as security issue, mostly an inconvenience truly.)
-
-
François Beausoleil almost 12 yearsIt's important to search for the right path, because
/usr/lib/jvm/default-java/bin/java
can't be found, but/usr/lib/jvm/default-java
can be. Thanks for the detailed answer and the link! -
Admin almost 11 yearslittle simplistic, you don't need a form to parse values using either get or post
-
developerwjk almost 11 yearsI consider it 99.9% likely that someone who doesn't know the difference between them is using a form, and now that I think about it, probably without specifying method.