i'm new linux , java programming. i've server , client application. sever developed using c# programming runs on windows machine. i've developed client application in java runs on linux machine. need client side application start on boot of linux os. i don't want use linux existing os ubuntu or other , need compile linux kernel , run client side java application. if possible started ???
it depends on client code doing. if has very minimal requirements, can bundle linux kernel (from distribution), bootloader, jre , client code. jre , client code should go file system, perhaps initial ram fs don't have worry disk file systems. if compile kernel source, can give directory containing initramfs content, build directly kernel. you'd plug jre invocation init=
argument on kernel command line. again, if compile kernel source, can include parts of command line there.
the above assumes require no userland tools @ all. increasingly inappropriate assumption modern systems, since userland tools used load drivers, firmware, device configurations, , million other jobs required system , running. might have supply minimal userland. have @ busybox ways accomplish this. many embedded linux devices choose route.
if client should able present graphical user interface, need x server well. can compile source well, different drivers involved here, , different dependencies, i'd suggest building on existing distribution here. debootstrap
can e.g. used create minimal debian or ubuntu installation, might used starting point further customizations. route i've chosen one of own projects.
i don't want use linux existing os ubuntu or other , need compile linux kernel
i see little chance of creating customized linux installation (in 1 of shapes described above) without using full-featured linux environment development. if don't feel @ home in multi-boot setup, can run linux build environment in virtualized environment, e.g. using qemu or virtualbox.
Comments
Post a Comment