Antlr 4 IDE installation Failure - eclipse

Following a clean install of Ubuntu 18.04, and subsequent installation of Eclipse (Version: Oxygen.3a Release (4.7.3a)) i have tried to install the Antlr4 ide using "Help -> Eclipse Marketplace", Search for Antlr4 and click Install (ANTLR 4 IDE 0.3.6). I am then given the error below:
My Java version is as follows:
%java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
Also installing jdk 11 resulted in this:
openjdk-11-jdk-headless is already the newest version (10.0.1+10-3ubuntu1)
I effectively get the same error when installing from https://marketplace.eclipse.org/content/antlr-4-ide.
Has this error been seen before, and is there a solution ?

Related

Ubuntu eclipse javadoc does not show

When using eclipse I get:
The Javadoc for this element could neither be found in the attached source nor the attached Javadoc.
when hovering over code even for classes like java.lang.String.
Pressing Ctrl and selecting Open Declaration or Open Implementation yields:
I am running Ubuntu 20.04.1 LTS using eclipse version 2020-09 (4.17.0) and have java OpenJDK installed:
$ java --version
openjdk 13.0.4 2020-07-14
OpenJDK Runtime Environment (build 13.0.4+8-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 13.0.4+8-Ubuntu-120.04, mixed mode)
Clicking on Change Attached Source... in String.class (image above) I get this:
I cannot seem to get it to work. Any help is appreciated!

How to tell Java to use jline3

Scala newbie and following this blog to use sbt (I have a little Java experience using Eclipse).
sbt is working, however I must have the ncurses issue described here. Instead of downgrading ncurses I'm trying to upgrade jline.
I cloned the new jline3 repo and installed it using mvn.
I don't know how to point java to use the new jline3. Which is the same as saying, "I don't know how to fix this problem with scala / sbt".
OS: Arch: Manjaro
ncurses Version : 6.0+20170902-1
java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (build 1.8.0_144-b01)

Maven is not showing in Eclipse Luna, After Migrating to Jdk8 to Jdk7

To fix some issues related to an old project, I migrated Jdk8 to Jdk7 and now I'm unable to find Maven in my Eclipse Luna.
I have checked some previous post like, Maven not showing up in Eclipse (Kepler) even after m2e install.
But those solutions are not fixing my problem. I have another Eclipse Mars Editor, in that I can able to see Maven.
My Environment is: Ubuntu 32bit
user#user:~$ java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Server VM (build 24.65-b04, mixed mode)
user#user:~$ echo $JAVA_HOME
/usr/local/java/jdk1.7.0_67

Android build Ubuntu 16.04.1 required BlockingQueue

I am trying to build the Android source Build: LMY48M (android-5.1.1_r14) on Ubuntu 16.04.1
Got the following error
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:9: warning: [unchecked] unchecked conversion
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
required: BlockingQueue<Runnable>
found: BlockingQueue
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
#### make failed to build some targets (01:15:26 (hh:mm:ss)) ####
I am using OpenJDK-7
P.S: I was intented to build on Ubuntu 14.04, however I am using a skylake processor that doesn't have support on Ubuntu 14.04.
However, I successfully build the same Android build on a virtual box running Ubuntu 14.04 on this same machine.
Any help is appreciated.
Update#2
By following #Nir Duan suggestion, I am using OracleJDK7. but as soon I run make -j32 I am getting this error,
You asked for an OpenJDK 7 build but your version is
java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode).
************************************************************
build/core/main.mk:191: *** stop. Stop.
You're problem is because you need Oracle JDK7 and not OpenJDK-7 when building the source.
Use these commands:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
The result of $ java -version should be this:
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
(If not look here and change default java version)

google app engine eclipse installation fails

I have Eclipse Juno and Helios on my pcs. I have tried installing Google AppEngine plugin for Eclipse on both of them and there is always a failure. I have seen posts on the web saying that Google has confirmed there is a problem with the latest issue and v3.2 will be corrected. Is there any way I can install a version that will run with either of my
Eclipse installations and has anyone heard when v3.2 will be published?
it is possible to install gpe on juno, i have been using it for some time, and just did an update last night to 3.1.2
]$ uname -a
Linux Device-7DB829 3.6.7-1-ARCH #1 SMP PREEMPT Sun Nov 18 10:11:22 CET 2012 x86_64 GNU/Linux
]$ ./java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
Eclipse IDE for Java EE Developers 1.5.1.20121004-1506
Eclipse Platform 4.2.1.M20120914-1800
Java EE IDE Feature 1.5.1.20121004-1506
Google App Engine Java SDK 1.7.3 1.7.3
Google Plugin for Eclipse 4.2 3.1.2.v201211121240-rel-r42
good luck