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
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
Dhanen
Hi all. New here. I tried do it by myself and searching help in forums but no luck… Hope I can found it here in a specialized forum. My...
New
SuperGibaLogan
im working on a game on godot and im using a tutorial to code it however, one of the code in the tutorial im using only works in godot 4...
New
lingo1357
I have developed an initial plan for a simple and addictive physics game using a new engine I’ve learned. While I can envision various ph...
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
lucianoghetti
Hello, I’m a Bachelor Student in Informatics at Ecole Schulz in Geneva. I’m conducting a project on Artificial Intelligence in the Videog...
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
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
PragmaticBookshelf
Ruby, Io, Prolog, Scala, Erlang, Clojure, Haskell. With Seven Languages in Seven Weeks, by Bruce A. Tate, you’ll go beyond the syntax—and...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
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 Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New