Can not install a Java web application on Fedora

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












In company I use a licensed enterprise web app written in Java. So far I used it only on Windows. Not long ago I was able to install it on Ubuntu as well. Recently I discovered Fedora . And i try to move all my stuff on this distribution, including work stuff. When I try to install that app on Fedora, I get such an error :



enter image description here










share|improve this question























  • Start the program with java -Djava.awt.headless=true yourprogram.jar
    – nwildner
    Jun 22 '17 at 16:35










  • its an installation file. with extension ".sh".
    – Şansal Birbaş
    Jun 22 '17 at 16:38










  • can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script
    – nwildner
    Jun 22 '17 at 16:39










  • Latter did not work. And when i open .sh file with gedit it gets locked.
    – Şansal Birbaş
    Jun 22 '17 at 16:46






  • 1




    It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though.
    – thrig
    Jun 22 '17 at 17:34














up vote
1
down vote

favorite












In company I use a licensed enterprise web app written in Java. So far I used it only on Windows. Not long ago I was able to install it on Ubuntu as well. Recently I discovered Fedora . And i try to move all my stuff on this distribution, including work stuff. When I try to install that app on Fedora, I get such an error :



enter image description here










share|improve this question























  • Start the program with java -Djava.awt.headless=true yourprogram.jar
    – nwildner
    Jun 22 '17 at 16:35










  • its an installation file. with extension ".sh".
    – Şansal Birbaş
    Jun 22 '17 at 16:38










  • can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script
    – nwildner
    Jun 22 '17 at 16:39










  • Latter did not work. And when i open .sh file with gedit it gets locked.
    – Şansal Birbaş
    Jun 22 '17 at 16:46






  • 1




    It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though.
    – thrig
    Jun 22 '17 at 17:34












up vote
1
down vote

favorite









up vote
1
down vote

favorite











In company I use a licensed enterprise web app written in Java. So far I used it only on Windows. Not long ago I was able to install it on Ubuntu as well. Recently I discovered Fedora . And i try to move all my stuff on this distribution, including work stuff. When I try to install that app on Fedora, I get such an error :



enter image description here










share|improve this question















In company I use a licensed enterprise web app written in Java. So far I used it only on Windows. Not long ago I was able to install it on Ubuntu as well. Recently I discovered Fedora . And i try to move all my stuff on this distribution, including work stuff. When I try to install that app on Fedora, I get such an error :



enter image description here







fedora software-installation java






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 at 20:28









Rui F Ribeiro

38.2k1475123




38.2k1475123










asked Jun 22 '17 at 16:26









Şansal Birbaş

164




164











  • Start the program with java -Djava.awt.headless=true yourprogram.jar
    – nwildner
    Jun 22 '17 at 16:35










  • its an installation file. with extension ".sh".
    – Şansal Birbaş
    Jun 22 '17 at 16:38










  • can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script
    – nwildner
    Jun 22 '17 at 16:39










  • Latter did not work. And when i open .sh file with gedit it gets locked.
    – Şansal Birbaş
    Jun 22 '17 at 16:46






  • 1




    It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though.
    – thrig
    Jun 22 '17 at 17:34
















  • Start the program with java -Djava.awt.headless=true yourprogram.jar
    – nwildner
    Jun 22 '17 at 16:35










  • its an installation file. with extension ".sh".
    – Şansal Birbaş
    Jun 22 '17 at 16:38










  • can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script
    – nwildner
    Jun 22 '17 at 16:39










  • Latter did not work. And when i open .sh file with gedit it gets locked.
    – Şansal Birbaş
    Jun 22 '17 at 16:46






  • 1




    It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though.
    – thrig
    Jun 22 '17 at 17:34















Start the program with java -Djava.awt.headless=true yourprogram.jar
– nwildner
Jun 22 '17 at 16:35




Start the program with java -Djava.awt.headless=true yourprogram.jar
– nwildner
Jun 22 '17 at 16:35












its an installation file. with extension ".sh".
– Şansal Birbaş
Jun 22 '17 at 16:38




its an installation file. with extension ".sh".
– Şansal Birbaş
Jun 22 '17 at 16:38












can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script
– nwildner
Jun 22 '17 at 16:39




can you edit this .sh an look for where it can be the java execution? other option is to export an empty display environment variable BEFORE you execute it: export DISPLAY="" then run your .sh script
– nwildner
Jun 22 '17 at 16:39












Latter did not work. And when i open .sh file with gedit it gets locked.
– Şansal Birbaş
Jun 22 '17 at 16:46




Latter did not work. And when i open .sh file with gedit it gets locked.
– Şansal Birbaş
Jun 22 '17 at 16:46




1




1




It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though.
– thrig
Jun 22 '17 at 17:34




It's an X11 error, so you'll either need to a) turn off Java's use of X11 b) make X11-from-root work or c) login as root to an X11 session. The chmod 777 * instructions from the install guide do not inspire any sort of confidence in the quality of this software, though.
– thrig
Jun 22 '17 at 17:34










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










It is a Wayand problem. So, I clicked the gear on the login screen, after I have clicked my username. Then I selected "Gnome on Xorg" option. Finally I provided my password and it started Xorg session. Installation worked.






share|improve this answer




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f372767%2fcan-not-install-a-java-web-application-on-fedora%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








    up vote
    0
    down vote



    accepted










    It is a Wayand problem. So, I clicked the gear on the login screen, after I have clicked my username. Then I selected "Gnome on Xorg" option. Finally I provided my password and it started Xorg session. Installation worked.






    share|improve this answer
























      up vote
      0
      down vote



      accepted










      It is a Wayand problem. So, I clicked the gear on the login screen, after I have clicked my username. Then I selected "Gnome on Xorg" option. Finally I provided my password and it started Xorg session. Installation worked.






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        It is a Wayand problem. So, I clicked the gear on the login screen, after I have clicked my username. Then I selected "Gnome on Xorg" option. Finally I provided my password and it started Xorg session. Installation worked.






        share|improve this answer












        It is a Wayand problem. So, I clicked the gear on the login screen, after I have clicked my username. Then I selected "Gnome on Xorg" option. Finally I provided my password and it started Xorg session. Installation worked.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 23 '17 at 3:21









        Şansal Birbaş

        164




        164



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f372767%2fcan-not-install-a-java-web-application-on-fedora%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

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay