Error: A JNI error has occurred, please check your installation and try again – during running Java program from Ubuntu terminal

The error says it all: Exception in thread “main” java.lang.UnsupportedClassVersionError: Test has been compiled by a more recent version of the Java Runtime (class file version 55.0)… You’ve compiled for Java 11 … but you’re running an older JRE (Java 8). SUGGESTIONS: recompile with -source and -target to target an earlier version of Java in your .class file, or … Read more

Why is there no Constant feature in Java?

Every time I go from heavy C++ coding to Java, it takes me a little while to adapt to the lack of const-correctness in Java. This usage of const in C++ is much different than just declaring constant variables, if you didn’t know. Essentially, it ensures that an object is immutable when accessed through a special kind of pointer … Read more

Best Java obfuscator?

First, you really need to keep in mind that it’s never impossible to reverse-engineer something. Everything is hackable. A smart developer using a smart IDE can already get far enough. Well, you can find here a list. ProGuard is pretty good. I’ve used it myself, but only to “minify” Java code.

How to create PPTP connection with Java?

I need to check what accounts from my huge list are still valid on VPN-server, but I haven’t found any information on how to do it with Java language. How do I connect to PPTP-server using Java? I created a socket with the server ip and PPTP-port, just like this, according to PPTP working over … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)