You are not logged in.

#1 2010-05-09 11:54:26

zero-giulio
Member
Registered: 2010-01-23
Posts: 70

[SOLVED] java installation and build from AUR, problem

Ok, i read the wiki...

But I'm a newbie, and a bit confusing after read the article.

This is the proble: i want to install an application which needs java (pdfsam, or sampdf, or something similar, I don't remembar, it's a useful pdf tools in AUR). What I have to install?

Are there other guides to java for arch linux different (or complementary) to that of wiki?

Last edited by zero-giulio (2010-05-12 21:21:18)

Offline

#2 2010-05-09 12:07:32

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] java installation and build from AUR, problem

pacman -S jre jdk
or
pacman -S openjdk6

But if you are using aur, pacman should handle the deps for you.

Last edited by Mr.Elendig (2010-05-09 12:08:24)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2010-05-10 19:40:35

zero-giulio
Member
Registered: 2010-01-23
Posts: 70

Re: [SOLVED] java installation and build from AUR, problem

Thanks :-)

Last edited by zero-giulio (2010-05-12 21:19:56)

Offline

#4 2010-05-12 09:14:04

zero-giulio
Member
Registered: 2010-01-23
Posts: 70

Re: [SOLVED] java installation and build from AUR, problem

Problems during installation of pdfsam.

Indeed, after the command

makepkg --asroot -s

I'm asked to installopenjdk6 and apache-ant. Then it download pdfsam from sourceforge. After that, checksum etc... Everything ok until now.

But then, I will receive an error.

ant: command not found ==> ERROR: Build Failed.

Some helps?

EDIT: problem solved, after restart even the build process was all right. I successfully install pdfsam [my first AUR program, I'm very newbie :-)]

Last edited by zero-giulio (2010-05-12 21:19:29)

Offline

#5 2010-05-12 15:50:55

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] java installation and build from AUR, problem


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2010-05-12 21:15:08

zero-giulio
Member
Registered: 2010-01-23
Posts: 70

Re: [SOLVED] java installation and build from AUR, problem

I'm sorry, I forgot I was in the English forum!

Now I will edit my previous posts.

The problem is actually solved. After restart, everything works fine. Maybe, a restart is needed after java installation.

Thanks for all :-)

Offline

#7 2010-05-13 12:49:53

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] java installation and build from AUR, problem

Sounds like a path issue, simply logging out/in or sourcing /etc/profile.d/{jre,jdk}.sh achieves the same as a reboot.

Last edited by Mr.Elendig (2010-05-13 12:50:34)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB