well as i remember java can run on any platform due to its "java virtual machine" ; you should be able to play with Java on any Linux OS; for playing with web servlets you will need to have Tomcat set up with Apache.
Kali could also do a better job making visitors aware of this, and they could do a better job of explaining that it's not designed to be used as a regular desktop OS.
I would hate a new user to be discouraged by not being able to to connect to use it or configure or use Kali. Something like Linux Lite makes it really easy by lots of helpful configuration dialogs. I don't expect Kali to do this as this distro is not in the beginner friendly niche.
Thank you all. Yes, being a newbie is not a good feeling. After your suggestions I start doing a little research and I am understanding a little bit more.
Probably as good an approach as any is live boot something like Mint from a usb stick.if you try Ventoy and have say a 16gig stick you can have Mint and Linux lite and choose to boot either just make sure you get the right iso for your architecture.have you confirmed yet 32 or 64