Code
  1. Code
  2. CODE-235

PCGen does not work with OpenJDK on Ubuntu 10.04 LTS

    Details

      Description

      See thread in the Ubuntu Forums:
      http://ubuntuforums.org/showthread.php?t=817237

      Ubuntu is really pushing OpenJDK, and Sun / Oracle Java no longer appears in the default repository. So if someone were to install Java from a default Ubuntu 10.04 install, the only option they have is OpenJDK unless they figure out how to add repositories.

      When running PC Gen on OpenJDK on Ubuntu 10.04, the skills and feats tabs go completely blank on the SRD 3.5 player source (may occur on other sources, but didn't test).

      As with the other users in the Ubuntu forum above, the solution was to completely uninstall OpenJDK, add the Lucid repositories, then install Sun Java. All of the problems I was having with OpenJDK do not occur when SunJava is installed.

        Issue Links

          Activity

          Hide
          James Dempsey
          added a comment -

          We have had trouble reproducing this one. When this occurs is there any command line output?

          Show
          James Dempsey
          added a comment - We have had trouble reproducing this one. When this occurs is there any command line output?
          Hide
          James Dempsey
          added a comment -

          Tried it out on a Ubuntu 10.10 VM with OpenJDK and the JTreeTable components do not render. This means most tabs have no data (race, class, skills, inventory, spells etc). The JTableEx on the summary tab for classes works fine. No messages are output to the console.

          Show
          James Dempsey
          added a comment - Tried it out on a Ubuntu 10.10 VM with OpenJDK and the JTreeTable components do not render. This means most tabs have no data (race, class, skills, inventory, spells etc). The JTableEx on the summary tab for classes works fine. No messages are output to the console.
          Hide
          James Dempsey
          added a comment -

          Unless the root node is made visible the tree is reporting 0 rows visible under Open JDK, hence the empty display. With the root node visible you get a blank line at the top of each table, but otherwise it works.

          Show
          James Dempsey
          added a comment - Unless the root node is made visible the tree is reporting 0 rows visible under Open JDK, hence the empty display. With the root node visible you get a blank line at the top of each table, but otherwise it works.
          Hide
          Randy Goddard
          added a comment -

          @James: I've been able to duplicate this on 10.10 with OpenJDK and Sun JREs installed. With OpenJDK installed by default, and as the default JRE, PCGen displays no data in the Skills, Feats, and Inventory tabs. Once OpenJDK is removed and Sun becomes the default, then it works fine. No CLI output is displayed. I'll be happy to test additional configurations as needed.

          Show
          Randy Goddard
          added a comment - @James: I've been able to duplicate this on 10.10 with OpenJDK and Sun JREs installed. With OpenJDK installed by default, and as the default JRE, PCGen displays no data in the Skills, Feats, and Inventory tabs. Once OpenJDK is removed and Sun becomes the default, then it works fine. No CLI output is displayed. I'll be happy to test additional configurations as needed.
          Hide
          James Dempsey
          added a comment -

          The same issue will also occur in the Java 7 previews. The issue is fixed in the new user interface.

          Show
          James Dempsey
          added a comment - The same issue will also occur in the Java 7 previews. The issue is fixed in the new user interface.

            People

            • Assignee:
              James Dempsey
              Reporter:
              William Bertram
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: