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

Share:
275

Related videos on Youtube

user2583104
Author by

user2583104

Updated on September 18, 2022

Comments

  • user2583104
    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
      Michael Berkowski almost 11 years
      Be sure to read the official documentation on $_REQUEST
    • Chris Brown
      Chris Brown almost 11 years
    • mario
      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
    François Beausoleil almost 12 years
    It'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
    Admin almost 11 years
    little simplistic, you don't need a form to parse values using either get or post
  • developerwjk
    developerwjk almost 11 years
    I 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.