Help

Help

Can I use Java to program a game for Nintendo switch?

I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use Java to crate a game for Nintendo switch? Thanks!

Most Liked

OvermindDL1

OvermindDL1

As an aside, if you want to program homebrew for the nintendo switch (or official API if you can afford it), Rust is a language that is significantly safer and easier to use bugless than C or C++ and it can compile to the Switch, there are a few community made libraries that make it fairly simple to use I hear but never tried them.

OvermindDL1

OvermindDL1

In short: No.

In long: Java has a sizeable runtime that that alone is larger than almost every nintendo switch game’s runnable code, combined with the fact of having a GC would cause unending hitches on that much slower hardware. There’s a reason assembly, C, and C++ are used on the switch and only just about that. You ‘might’ be able to do very simple java or python things, but you will quickly run in to performance issues.

gulshan212

gulshan212

Well, I will recommend you to use C/C++ instead of Java as you know that Nintendo Switch primarily uses Nintendo’s own developing environment which includes libraries and tools of C and C++. Whereas Java is versatile programming language which is not natively supported for game development on Nintendo Switch.
Thanks

Where Next?

Popular Game Dev topics Top

steelx
Hi, I’m looking suggestions for learning Game development with C++ preferably, SDL2. All suggestions are welcomed :slight_smile:
New
deadlyzayan
hey there everyone , hope you are all great . i have been a world of warcraft player as long as i can remember and i got this idea of sta...
New
Intelligent_Chip_641
I published a game with AdMob monetization back in November, and I was making $35 per day. However, two days ago, I received a notificati...
New
Hipnot
How do I cancel my Fortnite Crew subscription and what happens to my account and previous rewards after I cancel my subscription?
New
gulshan212
Hello this is Gulshan Negi Well, I have developed a program in C++ to print a man (reference taken from here). On the attached site, I a...
New
HuntzUdwn
Hello everyone, I am a Student at CSUDH and was wondering about how to become a game developer. I would like to contact a developer and a...
New
Enoch_Kouichi
How i implement the programming syntax in 2D game sense? like mecanics, enemies, itens, weapons, resources, game power-ups, and money in-...
New
Huzi
I’ve been studying the mechanics behind Block Blast–style puzzle games, and I’m curious about the best approaches for developing one for ...
New
pixel
I would like to learn unreal engine to make my first game. It is going to be a top down 3d game like 1997 Grand Theft Auto. What would th...
New
BlobDev
Hi, so i know that python is a better first language but I read that it’s not mainly used for game development so I wondered if c# was be...
New

Other popular topics Top

PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1147 29994 760
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New