← Back to team overview

sikuli-driver team mailing list archive

[Question #678659]: Error compiling 1.1.4 in IntelliJ Linux

 

New question #678659 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678659

Hello everybody,

this is my first post here. I'm trying to compile 1.1.4 on a debian 9, using IntelliJ. The compilation fails on the IDEMacSupport.java. Here is the error I get:


Information:java: Attempting to open manifest...
Information:java: Manifest does not exist...
Information:java: Attempting to create output manifest...
Information:java: Succeeded: /home/lolo/prj/SikuliX1/IDE/target/generated-sources/annotations/META-INF/MANIFEST.MF
Information:java: Appending Java-Beans to MANIFEST.MF
Information:java: [org.jdesktop.swingx.HorizontalLayout, org.jdesktop.swingx.JXBusyLabel, org.jdesktop.swingx.JXButton, org.jdesktop.swingx.JXCollapsiblePane, org.jdesktop.swingx.JXDatePicker, org.jdesktop.swingx.JXDialog, org.jdesktop.swingx.JXEditorPane, org.jdesktop.swingx.JXErrorPane, org.jdesktop.swingx.JXFindBar, org.jdesktop.swingx.JXFindPanel, org.jdesktop.swingx.JXFrame, org.jdesktop.swingx.JXGradientChooser, org.jdesktop.swingx.JXGraph, org.jdesktop.swingx.JXHeader, org.jdesktop.swingx.JXHyperlink, org.jdesktop.swingx.JXImageView, org.jdesktop.swingx.JXLabel, org.jdesktop.swingx.JXList, org.jdesktop.swingx.JXLoginPane, org.jdesktop.swingx.JXMonthView, org.jdesktop.swingx.JXMultiSplitPane, org.jdesktop.swingx.JXMultiThumbSlider, org.jdesktop.swingx.JXPanel, org.jdesktop.swingx.JXRadioGroup, org.jdesktop.swingx.JXRootPane, org.jdesktop.swingx.JXSearchField, org.jdesktop.swingx.JXSearchPanel, org.jdesktop.swingx.JXStatusBar, org.jdesktop.swingx.JXTable, org.jdesktop.swingx.JXTaskPane, org.jdesktop.swingx.JXTaskPaneContainer, org.jdesktop.swingx.JXTextArea, org.jdesktop.swingx.JXTextField, org.jdesktop.swingx.JXTipOfTheDay, org.jdesktop.swingx.JXTitledPanel, org.jdesktop.swingx.JXTitledSeparator, org.jdesktop.swingx.JXTree, org.jdesktop.swingx.JXTreeTable, org.jdesktop.swingx.VerticalLayout, org.jdesktop.swingx.auth.DefaultUserNameStore, org.jdesktop.swingx.auth.JAASLoginService, org.jdesktop.swingx.auth.JDBCLoginService, org.jdesktop.swingx.border.DropShadowBorder, org.jdesktop.swingx.border.IconBorder, org.jdesktop.swingx.border.MatteBorderExt]
Information:java: Errors occurred while compiling module 'sikulixide'
Information:javac 11.0.2 was used to compile java sources
Information:18/02/19 16:47 - Compilation completed with 10 errors and 8 warnings in 6 s 315 ms
Warning:Output path /home/lolo/prj/SikuliX1/IDE/target/generated-sources/annotations intersects with a source root. Only files that were created by build will be cleaned.
Warning:java: No SupportedSourceVersion annotation found on org.jdesktop.beans.JavaBeanProcessor, returning RELEASE_6.
Warning:java: Supported source version 'RELEASE_6' from annotation processor 'org.jdesktop.beans.JavaBeanProcessor' less than -source '8'
/home/lolo/prj/SikuliX1/API/src/main/java/org/sikuli/script/Env.java
Warning:(8, 25) java: org.sikuli.basics.OS in org.sikuli.basics has been deprecated
/home/lolo/prj/SikuliX1/API/src/main/java/org/sikuli/script/Region.java
Warning:(3225, 27) java: getInstance() in org.sikuli.script.TextRecognizer has been deprecated
Information:java: Some input files use unchecked or unsafe operations.
Information:java: Recompile with -Xlint:unchecked for details.
/home/lolo/prj/SikuliX1/API/src/main/java/org/sikuli/guide/GlobalMouseMotionTracker.java
Warning:(61, 33) java: getMouseLocation() in org.sikuli.script.Env has been deprecated
/home/lolo/prj/SikuliX1/API/src/main/java/org/sikuli/guide/SxMagnet.java
Warning:(150, 33) java: getMouseLocation() in org.sikuli.script.Env has been deprecated
/home/lolo/prj/SikuliX1/IDE/src/main/java/org/sikuli/scriptrunner/JRubyScriptRunner.java
Warning:(19, 17) java: org.jruby.CompatVersion in org.jruby has been deprecated
/home/lolo/prj/SikuliX1/IDE/src/main/java/org/sikuli/idesupport/IDEMacSupport.java
Error:(17, 39) java: cannot find symbol
  symbol: class AboutHandler
Error:(17, 53) java: cannot find symbol
  symbol: class PreferencesHandler
Error:(17, 73) java: cannot find symbol
  symbol: class QuitHandler
Error:(17, 86) java: cannot find symbol
  symbol: class OpenFilesHandler
Error:(32, 25) java: cannot find symbol
  symbol:   class OpenFilesEvent
  location: class org.sikuli.idesupport.IDEMacSupport
Error:(41, 27) java: cannot find symbol
  symbol:   class AboutEvent
  location: class org.sikuli.idesupport.IDEMacSupport
Error:(46, 33) java: cannot find symbol
  symbol:   class PreferencesEvent
  location: class org.sikuli.idesupport.IDEMacSupport
Error:(51, 37) java: cannot find symbol
  symbol:   class QuitEvent
  location: class org.sikuli.idesupport.IDEMacSupport
Error:(51, 50) java: cannot find symbol
  symbol:   class QuitResponse
  location: class org.sikuli.idesupport.IDEMacSupport
Error:(10, 1) java: package java.awt.desktop does not exist

I don't have much experience with Java nor IntelliJ. Any clue what's going on or where to look for more information?

I have two JDKs: java-11-oracle and java-8-openjdk. Theoretically, I've selected java 11 as the SDK in IntelliJ. I think this is not related, but I tell you just in case.

Thanks!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.