Package Details: java-gnome 4.1.3-5

Git Clone URL: https://aur.archlinux.org/java-gnome.git (read-only)
Package Base: java-gnome
Description: Java bindings to the GNOME platform (including gtk, glib and glade)
Upstream URL: http://java-gnome.sourceforge.net
Licenses: GPL
Submitter: wonder
Maintainer: ItachiSan
Last Packager: City-busz
Votes: 14
Popularity: 0.133138
First Submitted: 2011-03-16 11:51
Last Updated: 2016-08-09 19:38

Latest Comments

yaron commented on 2016-07-16 10:20

No probs, still arch issues, I tried adding set +x to see the failing command but it didn't work, now I'm getting this on the latest manjaro:

==> Starting build()...
bad override

jdk_home specified doesn't seem to be a Java Development Kit home directory!

Failed to complete configuration.

ItachiSan commented on 2016-05-18 19:21

Sorry @yaron for my late reply, but I don't receive emails from AUR comments.
Pretty bad.

Building with the devtools (install the devtools package and use extra-$ARCH-build) works nicely for me.

About manjaro-release, I thing the sed thing works fine.
About "jar", it is pretty strange it doesn't work for you.

For PlayOnLinux, the error is in the log you wrote and not related to this package.

I've also fixed the javadoc thing, using the patch only on Java 8.

yaron commented on 2016-05-11 10:08

I'm looking at this package, I can't blame them for not including Manjaro, this package is pretty old.

The major issues are:
1. The ./configure script doesn't look at /etc/manjaro-release so the configuration script breaks.
2. Makefile uses the "jar" command, which cannot be found for some reason (even though I added it in the PATH etc.)

I did a partial job on the PKGBUILD and came up with the following solution:
1. Inside the build() function add the following after cd…
sed 's@\( -f \"/etc/arch-release\" \)@(\1) \|\| ( -f /etc/manjaro-release )@' configure
2. I'm not really sure about the proper approach regarding the "jar" command, what I did in my case (highly non-production grade) was replacing the jar command with the full binary location (/usr/lib/jvm/java-8-openjdk/bin/jar), this way is worked but we may need to find a more robust solution for the java issue.

After installing wine works great, PlayOnLinux crashed with the following log message:
Exception in thread "main" java.lang.IllegalStateException: The file /root/.PlayOnLinux/icones/full_size is not a valid directory
at com.playonlinux.filesystem.DirectoryWatcher.validate(DirectoryWatcher.java:57)
at com.playonlinux.filesystem.DirectoryWatcher.<init>(DirectoryWatcher.java:43)
at com.playonlinux.filesystem.DirectoryWatcherFiles.<init>(DirectoryWatcherFiles.java:30)
at com.playonlinux.library.LibraryEntitiesProvider.init(LibraryEntitiesProvider.java:100)
at com.playonlinux.core.services.manager.PlayOnLinuxServicesManager.register(PlayOnLinuxServicesManager.java:48)
at com.playonlinux.core.services.manager.PlayOnLinuxServicesManager.init(PlayOnLinuxServicesManager.java:100)
at com.playonlinux.app.PlayOnLinuxApp.start(PlayOnLinuxApp.java:58)
at com.playonlinux.app.PlayOnLinuxApp.main(PlayOnLinuxApp.java:75)

Not sure it has anything to do with the modifications.

luso58 commented on 2016-02-03 10:24

I use manjaro and I can't install it. I always get this error

Identify operating system: unknown!

What we really need you to do is to look into this configure program,
and tell us what to add. Based on the examples of what is specified
for other distributions, you can probably quickly figure out what the
appropriate settings are for your platform.

Letting us know what changes you had to make here (ie, whatever
actions resulted in a .config that allows you to build and test
java-gnome, and run the java-gnome demo) we can help others with your
operating system take advantage of this program.

I have looked to some of the build and config files and it seems to me that it is made to run on major distros, but not manjaro. In the config it has an aption for arch (to later use of pacman) but not for manjaro. And even rewriting it doesn't make it work. Every time when I try to write manjaro to the config file and run 'makepkg' it rewrites it back again. I even tried to rewrite it in the downloaded archive but it rewrites it too.

Could you repair it or could someone tell me how to build it manualy without re-extracting original sources, please?

Taijitu commented on 2016-01-07 13:30

I got the build error for doc too. Commenting out the "make doc" and the packaging of the doc allows the software to still be installed.

Feanor12 commented on 2015-12-20 19:23

I get following the error:

...
Select runtime: java

Output:
- configuration data ok
- native library location ok

JAVADOC doc/api/*.html
javadoc: error - invalid flag: -Xdoclint:none
Makefile:87: recipe for target 'doc' failed
make: *** [doc] Error 1
==> ERROR: A failure occurred in build().
Aborting...

melkir commented on 2015-02-26 21:00

Hi,
@ruvater

It's work with java-8-openjdk but not with jdk8 even if i specify :
./configure jdk=/usr/lib/jvm/java-8-jdk

So my solution is:
yaourt -S jdk8-openjdk
archlinux-java set java-8-openjdk/jre
./configure jdk=/usr/lib/jvm/java-8-openjdk

Not very userfriendly...

ruvater commented on 2014-12-23 21:32

@gim It means that you $jdk_home variable has not been set. Here's the fix:

1) Locate your default JDK directory. I'd do it like this:

sudo find / -name "javac" -type f

And choose default one of them (run archlinux-java to be sure)

I got /usr/lib/jvm/java-8-openjdk/bin/javac, so /usr/lib/jvm/java-8-openjdk is your JDK directory

2) Run configure this way

./configure jdk=YOUR_DIR

3) Profit! ;)

gim commented on 2014-11-24 12:39

Select runtime: failed
No usable Java runtime environment was detected.
Failed to complete configuration.

Also, 'gtkspell3' should be added as dependency.

wbiller, could you fix this package already? Or at least orphan it.

City-busz commented on 2014-05-14 05:16

Please remove 'libunique3' from dependencies.

Anonymous comment on 2014-04-11 07:18

Please add 'gtkspell3' to the dependencies

Anonymous comment on 2014-04-11 07:09

Please add 'gtkspell3' to the depencies

City-busz commented on 2012-05-27 23:56

@Kenji_Takahashi: thanks for the trick! Now I applied.

KenjiTakahashi commented on 2012-05-22 04:10

This seems to do the trick: https://gist.github.com/2766491.

City-busz commented on 2012-05-07 19:05

@audrius: I can't simply remove jdk7-openjdk makedependency, because I have to define the path to the jdk on configure line.

audrius commented on 2012-05-07 16:48

Does 'jdk7-openjdk' is really necessary? It builds with sun jdk for me also.

City-busz commented on 2012-05-06 20:37

@audrius: now I fixed the build

audrius commented on 2012-03-29 15:20

I got this error...

src/bindings/org/gnome/gdk/Plumbing.java:69: error: name clash: boxedFor(Class<? extends Boxed>,long) in org.gnome.gdk.Plumbing and boxedFor(Class<?>,long) in org.gnome.glib.Plumbing have the same erasure, yet neither hides the other
protected static Boxed boxedFor(Class<? extends Boxed> type, long pointer) {
^
Note: src/bindings/org/gnome/gtk/TextView.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
1 warning
make: *** [build-java] Error 1

ur6lad commented on 2011-06-03 20:11

was disowned

dserban commented on 2011-06-03 09:58

This package is required as a dependency for syncany-bzr.
@ur6lad, if you are no longer interested in maintaining this package, please disown it.

dieelt commented on 2011-06-02 16:24

Maybe we can patch it with this gentoo path: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-java/java-gnome/files/java-gnome-4.0.19-libnotify-0.7.patch?view=markup

wonder commented on 2011-03-16 11:52

move in aur. is broken with libnotify 0.7