Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Help with java

Started by carlo, April 18, 2016, 10:39:55 PM

Previous topic - Next topic

carlo

hi all
i'm trying to install the pcgen from sourceforge on sparky

i've been follwowing the instructions from here

since the java compiler was missing i've installed a bunch of packages from synaptic which popped out when i looked for "java" and "java compiler"

so i seemed to have succeeded, but ....
the output is this
[ 10:19 ]  [ carlo@linuxschifo:~/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen ]
$ ant build
Buildfile: /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/build.xml

emma:

init:

copyoutputsheets:

properties:

compile-compile:

compile:
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/build.xml:169: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1367 source files to /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/EditorMainForm.java:588: error: cannot find symbol
    [javac]             thisPObject.addToListFor(ListKey.TYPE, Type.CUSTOM);
    [javac]                                                        ^
    [javac]   symbol:   variable CUSTOM
    [javac]   location: class Type
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/EditorMainForm.java:2162: error: incompatible types: pcgen.cdom.enumeration.Type cannot be converted to java.awt.Window.Type
    [javac]                             for (Type t : wp.getTrueTypeList(false))
    [javac]                                                             ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/EditorMainForm.java:2347: error: incompatible types: pcgen.cdom.enumeration.Type cannot be converted to java.awt.Window.Type
    [javac]                             for (Type type : aSkill.getTrueTypeList(false))
    [javac]                                                                    ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/LevelAbilitiesPanel.java:141: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]             final Object[] x = lstSelected.getSelectedValues();
    [javac]                                           ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/MovementPanel.java:246: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]             final Object[] x = lstSelected.getSelectedValues();
    [javac]                                           ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/NaturalAttacksPanel.java:382: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]             final Object[] x = lstSelected.getSelectedValues();
    [javac]                                           ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/VisionPanel.java:191: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]             final Object[] x = lstSelected.getSelectedValues();
    [javac]                                           ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/editor/SpellBasePanel2.java:158: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]             final Object[] x = lstVariants.getSelectedValues();
    [javac]                                           ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/pcgen/gui/sources/SourceSelectionDialog.java:772: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                             Object[] selectedSourceNames = hiddenList.getSelectedValues();
    [javac]                                                                      ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/encounter/EncounterPlugin.java:289: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     Object[] values = theView.getLibraryCreatures().getSelectedValues();
    [javac]                                                                    ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/encounter/EncounterPlugin.java:341: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                                     theView.getEncounterCreatures().getSelectedValues();
    [javac]                                                                    ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/experience/ExperienceAdjusterPlugin.java:230: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                             Object[] list = eaView.getCharacterList().getSelectedValues();
    [javac]                                                                      ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/experience/ExperienceAdjusterPlugin.java:267: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     Object[] list = eaView.getCharacterList().getSelectedValues();
    [javac]                                                              ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/experience/ExperienceAdjusterPlugin.java:279: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     Object[] list = eaView.getEnemyList().getSelectedValues();
    [javac]                                                          ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/experience/ExperienceAdjusterPlugin.java:365: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     Object[] list = eaView.getEnemyList().getSelectedValues();
    [javac]                                                          ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/pcgtracker/PCGTrackerPlugin.java:131: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     for (Object obj : theView.getLoadedList().getSelectedValues())
    [javac]                                                              ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/pcgtracker/PCGTrackerPlugin.java:140: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     for (Object obj : theView.getLoadedList().getSelectedValues())
    [javac]                                                              ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/pcgtracker/PCGTrackerPlugin.java:229: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]                     for (Object obj : theView.getLoadedList().getSelectedValues())
    [javac]                                                              ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/pcgtracker/PCGTrackerPlugin.java:299: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]             for (Object obj : theView.getLoadedList().getSelectedValues())
    [javac]                                                      ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/pretokens/test/PreRaceTypeTester.java:71: warning: [deprecation] getCritterType() in PlayerCharacter has been deprecated
    [javac]             if (character.getCritterType().indexOf(requiredRaceType) >= 0)
    [javac]                          ^
    [javac] /home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/src/java/plugin/pretokens/test/PreTypeTester.java:114: warning: [deprecation] getTypes() in PlayerCharacter has been deprecated
    [javac]             for (String element : aPC.getTypes())
    [javac]                                      ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors
    [javac] 22 warnings

BUILD FAILED
/home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/build.xml:169: Compile failed; see the compiler error output for details.

Total time: 4 seconds


and it ends saying to check the compiler log error:
since i'm a total java ignorant, where would the compiler logs be?
thank you

pavroo

In my way, it should be somewhere in:
/home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/
or
/home/carlo/.PlayOnLinux/wineprefix/pcgen/drive_c/pcgen/pcgen-6.04.x/pcgen/code/build/
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

carlo

mmm
is it supposed to be an .xml file?

View the most recent posts on the forum