LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2018, 05:16 AM   #1
Soumyasree
LQ Newbie
 
Registered: Apr 2018
Posts: 1

Rep: Reputation: Disabled
Kernel Modification


Doing kernel modification as an amatuer.As we are just beginning with it we want some simple modifications to implement.Generally a Linux Kernel consists of Open JDK and our target is to replace and embed it with Oracle JDK.We have searched and tried solving this problem ,but failed in it.It will be great if some one helps us in solving the problem in a step by step procedure.We have also come across 52 different .config files in the kernel 4.16 ,but are unable to understand which .config file to modify .
 
Old 04-08-2018, 08:55 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Soumyasree View Post
Doing kernel modification as an amatuer.As we are just beginning with it we want some simple modifications to implement.Generally a Linux Kernel consists of Open JDK and our target is to replace and embed it with Oracle JDK.We have searched and tried solving this problem ,but failed in it.It will be great if some one helps us in solving the problem in a step by step procedure.We have also come across 52 different .config files in the kernel 4.16 ,but are unable to understand which .config file to modify .
You have given us no useful information; wihtout it, we can't even GUESS as to how to help you. You say you want to modify the Linux kernel, to replace 'JDK', and you have failed. You don't say HOW you failed, what errors/messages you got, why you're doing this, etc. And we are not going to type up a 'step-by-step' procedure for you, when there are MANY you can find with a brief Internet search.

Compiling a kernel can be confusing...modifying it is MUCH more difficult.
 
Old 04-08-2018, 09:49 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Quote:
Originally Posted by Soumyasree View Post
Generally a Linux Kernel consists of Open JDK and our target is to replace and embed it with Oracle JDK.
Where did you come across that idea? The Linux kernel is written in C.
 
Old 04-08-2018, 10:34 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
In addition the JDK (Java Development Kit) is a collection of Java programming tools and applications. You can install and remove the JDK Depending on the distribution like any application.
 
Old 04-08-2018, 12:38 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Smile Kernel is open JDK?

Quote:
Originally Posted by Soumyasree View Post
Generally a Linux Kernel consists of Open JDK and our target is to replace and embed it with Oracle JDK.
I never knew that! And here I've been compiling kernels for 15 years. Would you mind explaining how the kernel consists of open JDK?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel data structure modification Kullu Linux - Newbie 3 10-28-2015 02:10 AM
kernel tuning/modification ? czezz Solaris / OpenSolaris 7 01-15-2009 02:32 AM
Error informing the kernel about modification to partition /dev/hda3 zillah Fedora 19 07-27-2007 04:27 AM
catch the tcp header for modification from the kernel mprabhu Linux - Software 2 07-24-2004 04:46 AM
Kernel modification problems Goatdemon Linux - General 7 06-07-2002 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration