How to fix Java 11 docker image security issues - java-11

I've been receiving security issues from Snyk's container scanning on my java 11 app. There are recommendations to update the packages inside but I can't seem to find how using Maven Jib. Below are what I've tested so far.
eclipse-temurin:11.0.17_8-jre
maven:3.8.5-eclipse-temurin-11-alpine
gcr.io/distroless/java11
java11-debian11
amazoncorretto:11
adoptopenjdk/openjdk11-alpine
adoptopenjdk/openjdk11-alpine-slim
adoptopenjdk/openjdk11-alpine-jre

Eclipse Temurin is maintained and works for me. The version eclipse-temurin:11.0.18_10-jre currently covers the high risk vulnerabilities reported by Snyk.

Related

Has anyone identified issues when using Blue Prism version 6.2?

I am attempting to begin building an automation sequence for a client however they are only able to use Blueprism version 6.2 right now. Does anyone know of installing, coding, scheduling, or running issues with this version? Can you also link where the issue has been discussed/resolved?
Ensure they are using the latest patch level for 6.2 (which is 6.2.2) in order to ensure they do not experience issues around scheduling. Details will be available in the Release Notes for 6.2.2 on the Blue Prism portal.

Netbeans 8.2 with JDK9 BUILD160

I'm trying to add "JDK9 Build 160" as a platfrom in netbeans 8.2. After adding the platform, the class tab contains no platform classpaths. I tried many blogs and guides but gave no solution. Could someone help please?
The simple answer is that JDK 9 does not work with NetBeans 8.2. To use JDK 9 Early Access builds you will need one of the NetBeans daily development builds. Have a look at the wiki page that explains it in a lot more detail:
http://wiki.netbeans.org/JDK9Support
I've used the daily development builds and JDK 9 with no problems. With the development build the 'Classes' tab will display all of the platform modules included in JDK 9 as part of the JPMS.

Why does Jetbrains install its own JDK for use with its IDEs?

I was looking checking the version of my Rubymine recently and noticed that it seems to be using a JVM provided by Jetbrains. What is the purpose of this? Why not use a JDK installed by the user?
A couple of reasons.
It allows them to have the IDEs run in a known, tested environment.
It reduces the number of environments (versions) they have to verify.
It keeps problems in a user's JVM from causing problems in their IDEs.

Downgrade Worklight 6 from Eclipse

My eclipse recently updated to Worklight 6 and screwed all my projects .. Is there a way to downgrade to Worklight 5 ? Does anyone have a Worklight 5 installation zip ?
For the free Developer Edition, no, only the latest version is available. (source)
You will find information about buying IBM Worklight here.
I think it's worthwhile spending a bit of time making your project(s) Worklight 6.0 compatible. There are a lot of new features (JSONStore runs on the browser, better client-side logger, analytics, geolocation, etc) and overall improvements and fixes. I recommend you open another question and provide details about your environment, relevant pieces of code and log messages, what your goal is and what you have tried so far.

Best IDE for Grails 1.1.X development [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've been on a frustrating quest to find an IDE which provides reasonable support for Grails 1.1 development. My minimum requirements are:
Supports running tests within the IDE
Supports debugging within the IDE while running either the tests or the app itself
Provides code-completion, including dynamic finders added to domain classes
Here's a rundown of my experience so far
Eclipse 3.4.2 (Ganymede)
Using the latest plugins available from the update site, Eclipse's support for Groovy/Grails is truly pathetic. It provides little more than code completion and spurious errors
NetBeans 6.7 Beta
As soon as I imported the project, NetBeans began scanning it. The Navigator view was waiting for the scanning to finish before showing it's contents. About 20 minutes later, both the Navigator view and I were still waiting. Also, support for code completion on dynamic finders is poor, and for some reason it copied all the plugins into $PROJECT_ROOT/web-app/plugins.
IntelliJ 8.1.2
Although the general consensus is that IntelliJ is the best IDE for Groovy/Grails, it does not work well with Grails 1.1.X. The root cause of the problem appears to be the change in the location of the plugins folder. IntelliJ is unable to build the app because it can't find classes I'm importing from plugins, even though those plugins are listed in application.properties
So my question (finally) is whether anyone has found an IDE (not TextMate or Vim) that works with Grails 1.1.X when the plugin folder is in it's default location, i.e. under $HOME/.grails/1.1.X/plugins?
If so, I'd be really grateful for information about:
Which IDE to use (including version number)
Which plugins (if any) need to be installed
How to import an existing project into the IDE
How to run the app, the tests, and debug from within the IDE (if it's not obvious)
Thanks,
Don
NetBeans 6.7 now with Grail 1.1 support
I'm unclear on which version of IntelliJ IDEA the author of that blog post tested, tha didn't work with Grails 1.1.1.
Idea 8.1.2 works very well for me on OSX with Grails 1.1 and 1.1.1. Grails is installed under /Developer/grails-1.1.1 (with a symlink at /Developer/grails ), and the plugins are in the ~/.grails/1.1.1/plugins directory.
I didn't have to install any extra Idea plugins. What I did have to do was tell it where the plugins were, and install the missing ones once I had upgraded to 1.1.1. IDEA's grails integration can even recognize the plugins from the Grails repository and install them from the IDE.
NetBeans 6.7 RC3 works much better with Grails 1.1.1 than the versions before. Debugging only works in attached mode, i.e. you start your application from the command line (grails-debug run-app) and then attach the Netbeans Debugger (port 5005). My experience is that the watches do not show the correct values of the running process. Automatic code formatting is horrible.
IntelliJ 8.1.3 worked good for me with Grails 1.1. Debugging was working correctly (most of the time, from time to time, the status of the debugger does not match the actual process' status) and code formatting is quite good. After I switched to Grails 1.1.1 IntelliJ refuses to start my app ("error running MyApp: Grails are not configured") although grails is installed and GRAILS_HOME is set correctly. The trick is to change the facet in the module settings of your project. There you have to configure the location of your grails 1.1.1 installation. Then IntelliJ crashed while starting your app and you have to do the configuration again . With a little bit of luck it works then and everything is fine.
I've spend a lot of time with these issues in the last days and I am quite angry about that. Therefore I'd like to recommend to go away from grails and to use ruby on rails with NetBeans 6.7 instead. Then you can start to focus on your business, not on configuration and installation issues. If you really need to stick with grails, use IntelliJ and pay for it. It's worth it. Do not even think about using Eclipse, if you do not want to go crazy.
I've been playing around with the version 9 milestone 1 release of IntelliJ and so far have not had any problems working with grails apps.
One thing i did notice was that the project explorer doesn't always refresh properly when files are added via an automated process. sometimes i have to close and re-open the project to see the new files, but that could just be a beta issue in general and not related to the grails support.
They've added a lot of Groovy and Grails support to the latest version of the Spring Source Tool Suite. It doesn't ship with these plugins by default, but there are options to install them as extensions from the dashboard page.
Some of the nice features include the ability to run grails commands in the IDE and support for editing GSPs. The Groovy language support has gotten much better too with the latest release of the plugin. You can read more about that here.
The Spring Tools Suite is also an excellent choice for grails/groovy development. I use it and do not have any cause for regret.
I've been using Netbeans 6.7 for some time and it's very slow, the code completion rarely works. Basically I'm using it as an editor and to format my code.
I used the EAP version of IDEA 8.1 and it was really nice - very easy to setup and develop in compared to the other IDEs. Sorry I don't remember exactly how to import an existing project but it was fairly straight forward.
If cost is not an issue, then IDEA would probably be the best choice.
I use STS (SpringSource Toolkit), I like it better than Intellij or Netbeans. I am using 2.3.3.M2