Java can't find cacertsTroubleshoot sun-java6-jdk installationThe annoyed configuration of java-6-openjdkNetBeans Hangs on New Project CreationJAVAC is not in the jdk path but java -version says JDK is installedSwitching to Java 7Unable to install jdk 6 after uninstalling jdk 7openjdk-7-jre installed, but no binarieshow to activate Java 8u51 plugin on Firefox?Netbeans cannot find javawhere to update Java JDK? (not how to install)

Should I join office cleaning event for free?

How do I create uniquely male characters?

What is the offset in a seaplane's hull?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Shell script can be run only with sh command

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

What do you call a Matrix-like slowdown and camera movement effect?

Set-theoretical foundations of Mathematics with only bounded quantifiers

Compute hash value according to multiplication method

Why Is Death Allowed In the Matrix?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Japan - Plan around max visa duration

What are these boxed doors outside store fronts in New York?

Banach space and Hilbert space topology

Why don't electromagnetic waves interact with each other?

"You are your self first supporter", a more proper way to say it

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

declaring a variable twice in IIFE

What typically incentivizes a professor to change jobs to a lower ranking university?

How is this relation reflexive?

GPS Rollover on Android Smartphones

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

Motorized valve interfering with button?

Can a German sentence have two subjects?



Java can't find cacerts


Troubleshoot sun-java6-jdk installationThe annoyed configuration of java-6-openjdkNetBeans Hangs on New Project CreationJAVAC is not in the jdk path but java -version says JDK is installedSwitching to Java 7Unable to install jdk 6 after uninstalling jdk 7openjdk-7-jre installed, but no binarieshow to activate Java 8u51 plugin on Firefox?Netbeans cannot find javawhere to update Java JDK? (not how to install)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








6















I've been trying to setup a java dev environment with no luck. I installed openjdk-8-jdk but I keep getting java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty (when running android's sdkmanager). I've tried updating the cacerts file with sudo update-ca-certificates --fresh
but no luck. /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts does indeed point to /etc/ssl/certs/java/cacerts but java still can't find the certificates?










share|improve this question














bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • So far I have tried to update the Cacerts and no luck either, sorry I can't help.

    – Vethor
    May 5 '18 at 20:41


















6















I've been trying to setup a java dev environment with no luck. I installed openjdk-8-jdk but I keep getting java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty (when running android's sdkmanager). I've tried updating the cacerts file with sudo update-ca-certificates --fresh
but no luck. /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts does indeed point to /etc/ssl/certs/java/cacerts but java still can't find the certificates?










share|improve this question














bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • So far I have tried to update the Cacerts and no luck either, sorry I can't help.

    – Vethor
    May 5 '18 at 20:41














6












6








6


2






I've been trying to setup a java dev environment with no luck. I installed openjdk-8-jdk but I keep getting java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty (when running android's sdkmanager). I've tried updating the cacerts file with sudo update-ca-certificates --fresh
but no luck. /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts does indeed point to /etc/ssl/certs/java/cacerts but java still can't find the certificates?










share|improve this question














I've been trying to setup a java dev environment with no luck. I installed openjdk-8-jdk but I keep getting java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty (when running android's sdkmanager). I've tried updating the cacerts file with sudo update-ca-certificates --fresh
but no luck. /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts does indeed point to /etc/ssl/certs/java/cacerts but java still can't find the certificates?







java jdk openjdk ssl






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 10 '18 at 3:54









RedHatterRedHatter

298417




298417





bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 56 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • So far I have tried to update the Cacerts and no luck either, sorry I can't help.

    – Vethor
    May 5 '18 at 20:41


















  • So far I have tried to update the Cacerts and no luck either, sorry I can't help.

    – Vethor
    May 5 '18 at 20:41

















So far I have tried to update the Cacerts and no luck either, sorry I can't help.

– Vethor
May 5 '18 at 20:41






So far I have tried to update the Cacerts and no luck either, sorry I can't help.

– Vethor
May 5 '18 at 20:41











1 Answer
1






active

oldest

votes


















0














Run the following commands:



sudo dpkg --purge --force-depends ca-certificates-java

sudo apt-get install ca-certificates-java


Worked for me.






share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004745%2fjava-cant-find-cacerts%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Run the following commands:



    sudo dpkg --purge --force-depends ca-certificates-java

    sudo apt-get install ca-certificates-java


    Worked for me.






    share|improve this answer





























      0














      Run the following commands:



      sudo dpkg --purge --force-depends ca-certificates-java

      sudo apt-get install ca-certificates-java


      Worked for me.






      share|improve this answer



























        0












        0








        0







        Run the following commands:



        sudo dpkg --purge --force-depends ca-certificates-java

        sudo apt-get install ca-certificates-java


        Worked for me.






        share|improve this answer















        Run the following commands:



        sudo dpkg --purge --force-depends ca-certificates-java

        sudo apt-get install ca-certificates-java


        Worked for me.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 21 '18 at 11:42









        Martin Thornton

        2,56361830




        2,56361830










        answered May 1 '18 at 1:28









        CurrieCurrie

        1




        1



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004745%2fjava-cant-find-cacerts%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

            What to do with chalk when deepwater soloing? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Photo Competition: April - At Home in The Great OutdoorsIs it ok for my climbing shoes/chalk bag to get wet?What hand and finger exercises help with climbing?Chalk: pure, plus drying agent, liquid?What can I do with a retired rope and harness?What to do with the lap coiled rope if the belayer wishes to lead consecutive pitches?How do to a safety knot when abseiling with 2 ropes?What are the advantages of being short when climbing?When should you start to train with Campus Boards, Hang Boards and Peg Boards?Climbing: fear/panic on boulder wallWith what specific techniques are various bouldering grades associated?What are the most important numerical features to look for when comparing climbing ropes?

            How to start Thunderbird minimized on start-up?How to run Thunderbird on startup, minimised?How to make Thunderbird Mail runs at startup?How do I start applications automatically on login?How can I delay a specific program on startup?How do I hide Thunderbird from the launcher while running?How to keep Thunderbird and Pidgin running on background?How to open Thunderbird minimised at startup in Ubuntu 16.04How to start Thunderbird minimized to Unity system tray on start-up?Minimize Thunderbird to Traythunderbird script to disable option: “delete message on server”Why is Thunderbird pegging a core at 100%?Thunderbird resets profile after second start upClearing out Thunderbird on UbuntuThunderbird and a shared “home” partitionBidirectionally synchronize Thunderbird profiles (POP3 mail accounts) between two computersWhy doesn't Ubuntu/Thunderbird save my PGP key?How to start Thunderbird minimized to Unity system tray on start-up?Recovering thunderbird files from quick formatted drive?