Results 1 to 8 of 8

Thread: Java configuration console

  1. #1
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    467

    Default Java configuration console

    Using KDE and Firefox

    I'm trying to install a program.
    It should be downloaded and installed with java.
    I am using a proper Java version, there is no problem of old Java versions.
    After the download of the program the java refuses to install, showing a message saying that there is no security.
    When this happens on Windows machines, just open the Java configuration console and register the site from where the file is being downloaded.
    I was informed that the solution for Linux is to do the same thing, and to open such a configuration console should open a terminal, access the folder with the Java installation and type
    Code:
     ./ControlPanel
    But nothing happens.

    Maybe I have not found the correct Java directory .... I found the directory below ....
    Code:
     
    /usr/lib64/jvm-exports/java-1.8.0-openjdk-1.8.0

    Please tell me if this is the right directory.
    How do I solve the problem?

    Thanks in advance

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Java configuration console

    Please do not apply Windows methods on linux, not even with java apps.

    Can you show us actual output of your attempts to get the program running ? Copy and paste the output here, between CODE tags, the # in the layout ribbon.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    467

    Default Re: Java configuration console

    Quote Originally Posted by Knurpht View Post
    Please do not apply Windows methods on linux, not even with java apps.

    Can you show us actual output of your attempts to get the program running ? Copy and paste the output here, between CODE tags, the # in the layout ribbon.
    When running the Java application, I used the "-nocurity" option but it also did not work.
    This application downloads and installs a Brazilian government program to issue invoices for commercial use.
    Apparently the program works well until the moment it tries to install the Government program .... and then the error occurs .... and the window below appears ...


    And this is what is returned after the error:

    Code:
    positivo:/home/sergio/Downloads/emissoNfe/sebrae # javaws emissorNFehomologacao.jnlp
    Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
    netx: Initialization Error: Could not initialize application. (Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.)
    net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
            at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:813)
            at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:532)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)
    Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
            at net.sourceforge.jnlp.runtime.JNLPClassLoader$SecurityDelegateImpl.getClassLoaderSecurity(JNLPClassLoader.java:2393)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:321)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:734)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:285)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
            at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:805)
            ... 2 more

  4. #4
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    445

    Default Re: Java configuration console

    Quote Originally Posted by sergelli View Post
    "-nocurity"
    to be sure, is it: -nocurity or -nosecurity
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

  5. #5
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    467

    Default Re: Java configuration console

    Quote Originally Posted by kerijan2003 View Post
    to be sure, is it: -nocurity or -nosecurity
    Sorry, I typed it wrong here, but I made it right in the attempts and nothing worked

  6. #6
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    467

    Default Re: Java configuration console

    In addition:

    I used a simpler browser, the Konqueror that comes with the distro OpenSuse

    This time the installation went a little further, gave the same error, but clarified a little more by presenting the window below:


    When I click on "More Information" I'm directed to an Oracle page that shows the problem for the Windows and Mac platforms

    Summary of the opera .... we are without any help ....

    Can you tell me how to solve it?

  7. #7
    Join Date
    Aug 2013
    Location
    Jundiai, São Paulo, Brazil
    Posts
    467

    Default Re: Java configuration console

    Finally I was able to find the Java configuration window installed with the OpenSuse repositories

    Probably this solution is also suitable for other distros

    I removed everything that refers to java that was installed via OpenSuse distribution

    I installed the latest version of Java as instructed directly from Oracle

    After many hours, I found the file that opens the java configuration console .... Below is the link

    /usr/java/jre1.8.0_161/sun_java.desktop

    Now just make the settings ....

    I hope it passes to OpenSuse users

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,279
    Blog Entries
    2

    Default Re: Java configuration console

    Double-posting is generally discouraged in these Forums...

    To assist future people who might run into this issue about running unsigned applets,

    Although you can install Oracle Java which includes a tool which can modify security,

    With openjdk, the console is a lot less capable,
    To address this issue about unsigned applets, you can follow follow the steps described in this post

    https://forums.opensuse.org/showthre...06#post2863006

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •