Martin,

    The problem is that you don't only need to have java and java-config installed, the problem is that you need to have a java virtual machine selected with java-config. If you make an emerge with --emptytree you can see that java and java-config is listed in the packages to be installed, so you must have java and java-config installed, that's why they don't appear in your list of updates.

    And please, don't take my previous PS as a personal attack (your response seems to imply you thought I was attacking you and you are defending from my attack), is was meant to be just a suggestion for the doc mantainers, as I've seen this question a lot of times in the mailing list. I've been working with java for a long time, so I know what jar is, but I think a common linux user doesn't have to know about it, so this error may be confusing, as it was in your case.

    Regards
    Jose

martin wrote:
Zitat von Jose Gonzalez Gomez <[EMAIL PROTECTED]>: 
 
  
 
    Martin, 
 
    You need a java package and java-config installed, and you need to  
execute java-config to set the system java virtual machine. 
 
    Regards, 
    Jose 
 
    PS: By the way, I've seen this question a dozen times, shouldn't  
this be included in a FAQ or something? 
    
 
 
thanks for your help... 
 
but why isn't that mentioned while i tried to emerge the 'db' package! 
couldn't emerge 'say' anything about that this package depends on java?! 
 
ok, the "jar" program looks like something to to with java, but how do i 
know this for sure? if it does not say it needs java, i have to post such a 
questions... 
 
 
martin 
 
 
 
  
martin wrote: 
 
    
hi! 

i tried to update the system, but doing a "emerge -u system" stops at the 
      
package 
    
"sys-libs/db-4.0.14-r2" with an error... it says it needs a "jar" program, 
      
but does 
    
not find it in $PATH... 

so where do i find this program? how do i find out which package i should 
      
merge 
    
to get this? "qpkg -f" works only for installed packages. is there a tool 
      
that can 
    
search also in NOT installed packages? why isn`t "jar" automatically merged 
      
as it seems 
    
that "db" depends on it? is this a bug? 

can someone help me? 


here is the output of the error: 
---------------------------------------------------------------------- 
      
 
 

--
[EMAIL PROTECTED] mailing list

  

Reply via email to