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

dev232
Installed Mac Ports on OSX High Sierra sudo port install gcc11 libsdl2 openssl glfw libsdl2_gfx libsdl2_image libsdl2_mixer libsdl2_net...
New
mollyerin
Which operating system should I choose for gaming? I’ve been using Windows since I started, but now I’m wondering about switching to Luni...
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
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
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
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
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
Cheeren
Hello. I am developing a game with Unity. I have a problem that I can’t solve. It doesn’t matter if it is 3D or 2D, the edges of the obje...
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

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
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New