Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3945

Don't try and set permgen settings in Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.5, 2.4.4, 4.0.2
    • None
    • None

    Description

      If you have perm gen settings defined in bin/setenv or elsewhere in your environment, you'll see the following harmless but annoying message when starting Karaf on Java 8:

      [janstey@bender apache-karaf-4.0.1]$ ./bin/karaf
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

      We should not try and set these when Java version is >= 8.

      Attachments

        Activity

          People

            janstey Jonathan Anstey
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: