AWT, SWING toolkit for java

Hello All,

Which package in Manjaro gives java development toolkits like AWT and SWING ?

I need to compile a small serialcomm application downloaded from net. I have no java IDE installed.

In openSUSE, swing toolkit is provided by ‘swingx’ package. I cannot find it in Manjaro. I searched using ‘pkgfile’ and ‘pacman -F’ and ‘pamac’

Thanks in advance.

See → Java - ArchWiki

Could be part of openjdk

pamac search openjdk
2 Likes

Both Swing and AWT are already part of Java (jdk) !

Depending on the development system, there are various tools that make it easier to handle Swing and AWT (drag & drop programming)

In Eclipse, for example, this is the WindowBuilder Editor.

If you receive a *.jar file, you don’t have to compile anything yourself.

But the details of how this program can/must be used/compiled have nothing to do with the Linux distribution you use.

It may be easiest if you use the same development environment that was used in the project.

:footprints:

2 Likes

Swingx is not the same as swing, and it is not clear from what has been said if swingx is actually required, or if there is just some confusion. Some more detail of what was actually downloaded would help.

1 Like

Thanks Phemisters, @andreas85, @linux-aarhus.

I am only an amateur as far as software goes, so there lies my misunderstanding. As Phemisters says, swingx is a demo application. AWT and SWING must be in jdk itself.

The java code, from https://blog.henrypoon.com/blog/2011/01/01/serial-communication-in-java-with-example-program/
compiles without warning on AWT and SWING. So, javac is finding them.

Thanks again.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.