OpenJDK 11 doesn't read ANTLR v4 runtime .jar
by Anatoli Babenia
Hello.
I am trying to follow ANTLR getting started using native Fedora packages.
https://github.com/antlr/antlr4/blob/master/doc/getting-started.md
I've got `Hello*.java` files which fail to compile because of missing `org.antlr.v4.runtime`,
but I do have `/usr/share/java/antlr4/antlr4-runtime.jar` which contains all files.
Archive: /usr/share/java/antlr4/antlr4-runtime.jar
Zip file size: 332076 bytes, number of entries: 237
-rw---- 2.0 fat 1839 b- defN 20-Nov-30 18:19 META-INF/MANIFEST.MF
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 META-INF/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/misc/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/atn/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/dfa/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/tree/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/tree/pattern/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 org/antlr/v4/runtime/tree/xpath/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 META-INF/maven/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 META-INF/maven/org.antlr/
drwxr-xr-x 2.0 unx 0 b- stor 20-Nov-30 18:15 META-INF/maven/org.antlr/antlr4-runtime/
-rw-r--r-- 2.0 unx 2490 b- defN 20-Nov-30 18:15 org/antlr/v4/runtime/CodePointCharStream$CodePoint8BitCharStream.class
-rw-r--r-- 2.0 unx 824 b- defN 20-Nov-30 18:15 org/antlr/v4/runtime/CodePointBuffer$1.class
-rw-r--r-- 2.0 unx 752 b- defN 20-Nov-30 18:15 org/antlr/v4/runtime/Token.class
-rw-r--r-- 2.0 unx 1844 b- defN 20-Nov-30 18:15 org/antlr/v4/runtime/TokenStreamRewriter$RewriteOperation.class
-rw-r--r-- 2.0 unx 6750 b- defN 20-Nov-30 18:15 org/antlr/v4/runtime/CodePointBuffer$Builder.class
However, when I specify it in `-classpath`, the `javac` still doesn't those.
$ javac -classpath /usr/share/java/antlr4-runtime.jar Hello*.java
HelloBaseListener.java:3: error: package org.antlr.v4.runtime does not exist
import org.antlr.v4.runtime.ParserRuleContext;
^
HelloBaseListener.java:4: error: package org.antlr.v4.runtime.tree does not exist
import org.antlr.v4.runtime.tree.ErrorNode;
^
I am on Fedora 33.
2 years, 7 months
Current status of Eclipse packages and PDT?
by radu.rendec@gmail.com
Hi Everyone,
I can't seem to find any up-to-date information about Eclipse packages
in Fedora. Basically I'm trying to install Eclipse PDT (PHP Development
Tools) [1], so I guess any information with regards to PDT in the
latest Fedora release would be helpful.
PDT had been included in Fedora as the "eclipse-pdt" package up to and
including Fedora 31. Then it mysteriously disappeared. Am I missing
something or is it really gone? And if it is, is there any plan to
bring it back?
I also noticed that Eclipse packages became modular in Fedora 30, but
the Eclipse modules disappeared in Fedora 33 and the Eclipse packages
seem to be back in the main distro. Along the same lines, I found the
information in [2] to be outdated, as it still mentions the modules. Is
there any other official/up-to-date page dedicated to Eclipse packages
in Fedora?
Last but not least, the same page at [2] mentions "PHPEclipse", but
that project was abandoned a long time ago. There is no reference of
Eclipse PDT (or any other PHP related package, for that matter).
Thanks,
Radu
[1] https://www.eclipse.org/pdt/
[2] https://fedoraproject.org/wiki/Eclipse
2 years, 7 months
Java SIG Meetings Reloaded
by Fabio Valentini
(Sent to both java-maint-sig and java-devel lists for good measure.)
Hi everybody,
As mentioned on #fedora-java, I'd like to start having regular
meetings for the Java SIG again. There's a pretty long TODO list and
coordinating asynchronously over IRC is not working so well for
coordinating with others :) There's also some bigger projects on the
horizon (migrating to Jakarta EE 9, eventual migration to OpenJDK 17
as default, etc.).
I suggest that we hold fortnightly meetings on IRC, since this has
worked well for the Stewardship SIG. We also had tickets on our pagure
tracking project for the meetings and their agendas, which has also
worked well, so I'd like to do that again for the Java SIG.
If you would be intersted to join the meetings, please fill out this whenisgood:
http://whenisgood.net/medgkak
Please mark the slots where you would *usually* have time to join a
meeting. The dates are only there to mark the date of a *first*
meeting (to distinguish "odd" and "even" weeks for the fortnightly
schedule).
Once the time slot is clear, I will create recurring event in the
Fedora calendar app, which will also handle the reminder emails. :)
Thanks,
Fabio
2 years, 7 months