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

ksspeedstar
For about two weeks we have had the problem that Google / Android are rejecting apps for updates with the following statement: We found...
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
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
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
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
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
New
PragmaticBookshelf
Explore the power of Ash Framework by modeling and building the domain for a real-world web application. Rebecca Le @sevenseacat and ...
New