Skip to content

Tag: java

Eclipse: The SWT browser widget could not be created

I have installed eclipse (4.10) on my Linux Machine (KDE Neon 5.15) and everything works quite well except for the JavaDoc. Whenever I view the JavaDoc-hover, I get a plain text representation and at the bottom it says Further investigation led me to create a minimal SWT-example using the SWT Browser widget: …

IvParameterSpec value different for each print

When trying to understand a problem I faced an interesting problem. The IvParameterSpec class cannot hold the IV fixed. It changes for every println. I am using the javac 10.0.2 version on Ubuntu Linux Each of the println prints different values. What is the problem here? Shouldn’t the values be the sam…

401 SPNEGO SSO with Linux client

I can’t manage to configure my Ubuntu VM to single sign-on on my Spring Security web application under Spnego. Did I do anything wrong or am I missing something? I already got to SSO on a Windows 7 VM, so I believe it’s Linux specific. My configuration is detailed below. Infra I have four machines…

Running jre keytool results in the Permission Denied error

I have a script running the command: Got the error: Checked all permission on the directories and keytool – all are executable. I am at RHEL-7 Answer A lot of Distributions do not allow files to be executed from within the /tmp directory. Either move the jre out of /tmp (why is it even in there?) or make it e…

How to debug .bsh file from eclipse or otherwise

I have a .jmx within which there is a .bsh being invoked and it is failing there with the below error: I need to troubleshoot and figure out the root cause. Any pointers in this regard would be great. I have this .jmx being invoked from within Java application but I get the same error during execution both fr…

Java 8 gradle script causing kernel panic

I have an issue where Java 8 and Gradle are causing Linux VMs to crash. Here’s the interesting part: Java 7 does not result in this behavior. We’ve also tried enabling stacktrace and debugging, but the machine panics before any debugging/stack output. Kernel Panic – not syncing: Fatal except…