Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

java problem

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
mystified
l33t
l33t
User avatar
Posts: 771
Joined: Sat Feb 14, 2004 1:33 am

java problem

  • Quote

Post by mystified » Sat Nov 05, 2005 10:17 pm

I'm having a problem with java while trying to update php. I use blackdown-jre.

Code: Select all

  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config
 * You need to use java-config to set your JVM to a JDK!

!!! ERROR: dev-php/php-4.4.0-r4 failed.
!!! Function php-sapi_check_java_config, Line 201, Exitcode 0
!!! You need to use java-config to set your JVM to a JDK!
Any help appreciated.

Thanks!
Top
PovMan
Guru
Guru
User avatar
Posts: 375
Joined: Mon Sep 30, 2002 12:26 pm
Location: Australia

  • Quote

Post by PovMan » Sat Nov 05, 2005 10:47 pm

That means you need to install a JDK as opposed to a JRE.
For example, emerge blackdown-jdk. then run (as root) java-config -S blackdown-jdk
I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one.
Top
mystified
l33t
l33t
User avatar
Posts: 771
Joined: Sat Feb 14, 2004 1:33 am

  • Quote

Post by mystified » Sat Nov 05, 2005 11:13 pm

ok I ran it and got this.

Code: Select all

 File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config
Also do I need to remove blackdown-jre or can I have both?
Top
Murel
n00b
n00b
Posts: 20
Joined: Fri Oct 28, 2005 8:18 am

  • Quote

Post by Murel » Sat Nov 05, 2005 11:17 pm

See this thread

http://forums.gentoo.org/viewtopic-t-39 ... error.html

Looks like the same error.

Also it looks like you can have both, I have both blackdown JRE and JDK and sun JDK and java-config lets me select between them.
Top
mystified
l33t
l33t
User avatar
Posts: 771
Joined: Sat Feb 14, 2004 1:33 am

  • Quote

Post by mystified » Sun Nov 06, 2005 1:33 am

Thanks so much for the help. That did the trick.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic