Forums

Skip to content

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

javaws always use icedtea

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

javaws always use icedtea

  • Quote

Post by samuelbernardo » Wed Dec 13, 2017 4:54 pm

I'm using oracle jdk as default jvm, but when I review java-config result after setting oracle-jdk-bin as prefered jvm, javaws continues to start icedtea version.

Analysing the script /usr/libexec/eselect-java/run-java-tool.bash I realised that itweb-javaws is hardcoded:

Code: Select all

if [ "${tool}" = "javaws" ] && [ -x "/usr/bin/itweb-javaws" ]; then
        exec "/usr/bin/itweb-javaws" "${@}"
fi
Shouldn't this also change when java-config defines new predefined jvm?

Thanks for any clarification about this implementation in the mentioned script.
The ebuild that installs the script is app-eselect/eselect-java and I would like to change this script to also set javaws when predefining jvm.
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

Solved

  • Quote

Post by samuelbernardo » Sun Dec 17, 2017 12:53 pm

Special thanks to chewi gentoo dev for the clarification:
Disable the webstart flag against icedtea(-bin) and unmerge
dev-java/icedtea-web. Job done. This used to be configurable through
eselect but it was really overcomplicated for no benefit. This is all
documented here and shown when you install icedtea-web the first time.

https://gitweb.gentoo.org/repo/gentoo.g ... .gentoo-r1
Top
samuelbernardo
n00b
n00b
Posts: 31
Joined: Sat Jan 30, 2016 6:20 pm

Re: Solved

  • Quote

Post by samuelbernardo » Sun Dec 17, 2017 1:12 pm

samuelbernardo wrote:Special thanks to chewi gentoo dev for the clarification:
Disable the webstart flag against icedtea(-bin) and unmerge
dev-java/icedtea-web. Job done. This used to be configurable through
eselect but it was really overcomplicated for no benefit. This is all
documented here and shown when you install icedtea-web the first time.

https://gitweb.gentoo.org/repo/gentoo.g ... .gentoo-r1
For icedtea-3.6.0 disable use flag -webstart instead of -bin
Top
Chewi
Developer
Developer
User avatar
Posts: 890
Joined: Mon Sep 01, 2003 4:29 pm
Location: Edinburgh, Scotland
Contact:
Contact Chewi
Website

  • Quote

Post by Chewi » Sun Dec 17, 2017 1:17 pm

I didn't mean a flag called "bin", I was referring to the binary package called icedtea-bin. :) The webstart flag has always had that name.
Top
Post Reply

4 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