Skip to content

Tag: java

Where to add compiler options like -ea in IntelliJ IDEA?

I want to add the -ea option. I set it in Project Settings –> Compiler –> Java Compiler : Additional command line parameters. But it caused a make error: invalid flag: -ea. P.S.: the above error message may not be the same as yours, because IntelliJ showed error in my native language, not En…

Frontend Bug Reporting plugin for Website Beta Tester

I am looking for a bug reporting solution that I can embed into my website. I would like allow users to report front end issues directly from the page and be able to capture screen clippings, ideally it would also have some kaptcha to prevent basic spamming. I have an issue tracker, I want to ease the reporti…

Cannot inherit from final class error

What does this error mean .. It runs fine in Eclipse but not in intellij idea I get this error when I try to run couchbase using couchbase-client-1.1.6.jar from Intellij IDea. Answer if you’re using kotlin, add open to your class (extends RealmObject) declaration

Set the heap size of java with Garbage collection enabled

I am running JVM in a ubuntu ec2 instance which runs only solr and nothing else. Now I wanna configure the Heap size of the JVM which is running. The problem is I am not using Sun Jdk I am using the following versions and settings How do I reset the heap size to my requirements.Also I want to enable

A strange UnknownHostException

In a web project . I see the log: but when I ping example.com, it’s ok, I also telnet example.com 2181 successfully! I found the similar question so I run the DomainResolutionTest in my Server java DomainResolutionTest example.com but it’s ok ! env: java version “1.6.0_25” Java(TM) SE …