Does Jsoup support jdk 1.4?
What is the minimum version of jdk required for jsoup?
If jsoup does not support jdk 1.4, then is there any other html parser which I can use with jdk 1.4 to edit my html.
jsoup requires Java 1.5. See the jsoup download page for more information. It won't run on lower JREs.
Starting with version 1.11.1, Jsoup requires Java 7.
Starting with version 1.14.1, Jsoup requires Java 8.
in theory you can use the binaries (!) of jsoup down to java 1.2 .. however thats inadvisable. If you can, use JDK 1.5+.
most (if not all) interfaces you access are compatible to prior 1.5.
Related
What version of java supports latest version of Log4j2 2.13.1. Our application is using Java 8. From the official website I have got information for 2.12.1 mentioned as below but not for 2.13.1. Please let me know java 8 supports 2.13.1 version of Log4j2
Log4j 2.12.1 was the last 2.x release to support Java 7. Those artifacts can be found at:
This is the link: https://logging.apache.org/log4j/2.x/download.html
Log4j 2.3 was the last version to support Java 6 (and higher)
Log4j 2.12.1 was the last version to support Java 7 (and higher)
Log4j 2.13.0 and newer releases require a minimum of Java 8.
Log4j 3.0.0 is still in development and currently also requires a minimum of Java 8 but may end up requiring a minimum of Java 11.
This information is available on the Log4j 2 home page in the Requirements paragraph.
I am using ant script for Sonar code scan .Currently with 'sonar-ant-task-2.2.jar' i am able to execute scan for Java 7.
With Java 8 which version of sonar-ant-task need to be used ?
Thanks & Regards
Ganesh Rao
Read point #2 of Prerequisites at documentation. Use At least the minimal version of Java supported by your SonarQube server is in use.
See this, any JRE v8 will do.
If you have a look at the documentation of the latest scanner you will find this Prerequisites section:
SonarQube is already installed
At least the minimal version of Java supported by your SonarQube server is in use
The language plugins for each of the languages you wish to analyze are installed
You have read Analyzing Code Source.
Ant 1.7.1 or higher
So using Java 8 is not a problem if you are using SonarQube 5.6+ and using the latest scanner will resolve some issues (see the changelog).
I want to use the Delphi plugin for SonarQube, but apparantly it is depreciated. Hence, I would like to install an old version of SonarQube to use it. My 2 questions:
- which version of SonarQube should I use?
- where can I donwload the latest version of the Delphi plugin?
Thanks a lot and regards,
Pieter
We tested and is running the current version of Sonar:
Compatible with SonarQube 4.5.x and SonarQube 5.1.2
https://github.com/fabriciocolombo/sonar-delphi
Release: https://github.com/fabriciocolombo/sonar-delphi/releases
JAR: https://github.com/fabriciocolombo/sonar-delphi/releases/download/0.3.3-SNAPSHOT/sonar-delphi-plugin-0.3.3-SNAPSHOT.jar
PS: Translated from Portuguese to English by Google Translate.
take a look here:
https://github.com/darianmiller/devmachine/wiki/Delphi-Example-Project-for-Sonar
I'm using delphi plugin 0.2 with sonar 3.5.1
I need to setup a Windows working environment for Grails. I'd like to use GGTS as an IDE but got several errors compiling a sample project. Currently I'm using jdk1.8.0_40 and Grails 2.5.0. which results in this error (but in the end the project is working):
Groovy:Unexpected problem with AST transform: The Spock compiler
plugin cannot execute because Spock 1.0.0-groovy-2.4 is not compatible
with Groovy 2.3.10. For more information, see http://versioninfo.spockframework.org
On top of that there are two Java Exception Breakpoints which are listed as "unknown". Only info regarding version support I could find is:
Java SDK 1.5+ for Grails 1.2 or greater
GGTS itself seems not to run with the latest grails (3.0.1) since I simply cannot add it (directory appears not to be a grails installation).
Should I use Java 7 instead?
This issue is not related to JDK 1.8 or 1.7, but its is related to the GGTS IDE 3.6.4 Groovy Compiler version. As the error clarifies that Spock 1.0.0 version needs Groovy 2.4 compiler.
GGTS 3.6.4.RELEASE-e4.4.2 IDE comes with Groovy 2.3.10 compiler by Default.
Install Groovy Compiler 2.4 Feature and "switch to 2.4" will resolve this issue.
Refer: http://docs.codehaus.org/display/GROOVY/Compiler+Switching+within+Groovy-Eclipse
If you cannot switch compilers from the IDE Groovy Compiler preference page, follow the instructions to perform the switch from outside of Eclipse:
(Grails 2.5.0 uses Spock 1.0.0 (and internally Groovy 2.4.3 and this is why your project is compiling & working fine as the Grails runtime environment is taking over)
As an additional experience report to the answer above, thus providing another solution variant: I had to use the http://dist.springsource.org/snapshot/GRECLIPSE/e4.4 update site (as opposed to the release version mentioned in the link above) to make the 2.4 compiler feature available in the update manager.
After installation, the compiler errors are gone.
I noticed that project-specific groovy compiler is set in the Groovy Compiler preference page in new grails projects. By selecting "I don't care" for "Groovy compiler" it will default to the workspace groovy compiler which is usually correct (for me it's version 2.4). This worked for me but experience may vary.
On the Grails Plugin Site (http://www.grails.org/plugins/), every plugin lists the versions of Grails that it is compatible with; something like Grails version : 1.2 > *.
Does this mean that the plugin is compatible with all versions of Grails starting with 1.2 or up to 1.2?
Yes, it means that version is supported for mentioned and above versions. But do read that whether the plugin is deprecated or not. For that you need to go to plugin and then see the details at the bottom.
For example, Cloud Foundary is depreciated but it is still listed on Grails plugin page.
http://www.grails.org/plugin/cloud-foundry