Need clarification abt kernel

I want 2 use linux kernel as a base for dealing with HW
And to attach a program written in java to it.
so what i can do if i want to make an os having only this java program.

got the kernel from kernel.org
I want to attach specific device drivers to the kernel to deal with specific HW.
I have developed a program in Java; I want this program only to work with the kernel...

p.s. I want a hw with application specific written in java...
is there any way I can do what I am thinking of?

i have a program written in java...
and i want this program to boot and run once i powered on any device "FPGA with touch screen, PDA, PC, whatever HW has screen as o/p and any i/p"...
thx

Are You Sure You Want to Do That?

Mitch Frazier's picture

In "theory" you could replace /sbin/init, which is the first process run and which is the parent of all processes, but it's far from that simple.

I'd suggest that you get an entire distro somewhere and get that running and then start cutting out the things that you don't need. Having a working shell and ssh, etc will be worth it in the long run.

Mitch Frazier is an Associate Editor for Linux Journal.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix