Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
JDK for console-only machines
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
gdub
n00b
n00b


Joined: 17 Oct 2003
Posts: 17

PostPosted: Wed Aug 10, 2005 5:03 am    Post subject: JDK for console-only machines Reply with quote

Hi-

I'd like to install sun-jdk on some Gentoo machines that do not have GUIs.

In the make.conf USE variable, I set -X -kde -qt -gnome -gtk but the sun-jdk emerge still wants to build X, KDE-Base, OpenGL, ALSA, and all that stuff that has no business on these machines.

Must I simply use the Sun install directly? I hate to lose java-config .

TIA,
-dub
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Wed Aug 10, 2005 5:53 am    Post subject: Reply with quote

Try
echo "dev-java/sun-jdk -X -kde -qt -gnome -gtk" >> /etc/portage/package.use

Does this help?
Back to top
View user's profile Send private message
gdub
n00b
n00b


Joined: 17 Oct 2003
Posts: 17

PostPosted: Wed Aug 10, 2005 6:06 am    Post subject: Reply with quote

feivelda wrote:
Try
echo "dev-java/sun-jdk -X -kde -qt -gnome -gtk" >> /etc/portage/package.use

Does this help?


Thanks, but, unfortunately, the results are the same.

-dub
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Wed Aug 10, 2005 7:09 am    Post subject: Reply with quote

Have you tried the blackdown-jdk?
I think, X is required because of swt and swing classes
You can try to edit the ebuild yourself and remove the dependencies, but I won't try this
Back to top
View user's profile Send private message
Doc7
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2004
Posts: 133
Location: AC-Germany

PostPosted: Wed Aug 10, 2005 7:50 am    Post subject: Reply with quote

some USE-Flags that might cause this are
Code:
arts
mozilla
browserplugin

Code:
USE="-arts" emerge -pv sun-jdk


and sun-jdk can be emerged without xorg & Co. as you see with
Code:
USE="-*" emerge -pv sun-jdk

_________________
just my 2 cents
Back to top
View user's profile Send private message
sawyert
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 156
Location: Leeds, UK

PostPosted: Thu Aug 11, 2005 11:11 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-244341-highlight-dependencies+tim.html

Tim.
Back to top
View user's profile Send private message
gdub
n00b
n00b


Joined: 17 Oct 2003
Posts: 17

PostPosted: Thu Aug 11, 2005 3:14 pm    Post subject: Reply with quote

sawyert wrote:
https://forums.gentoo.org/viewtopic-t-244341-highlight-dependencies+tim.html


Wow! That did it. Amazing what that one little dependency causes. Reminds me of differential equations class.

Thanks.
-dub
Back to top
View user's profile Send private message
gdub
n00b
n00b


Joined: 17 Oct 2003
Posts: 17

PostPosted: Thu Aug 11, 2005 3:53 pm    Post subject: Reply with quote

Just a followup. When installing without the gui-related stuff, emerge reports warnings as might be expected. But I will be doing deeper-than-normal deployment testing on our apps before clearing the deployment.

edited emerge warnings :

Code:
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
[...]
 * Some parts of Sun's JDK require virtual/x11 to be installed.
 * Be careful which Java libraries you attempt to use.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Thu Aug 11, 2005 4:15 pm    Post subject: Reply with quote

sawyert wrote:
https://forums.gentoo.org/viewtopic-t-244341-highlight-dependencies+tim.html

Tim.


Dup.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum