We developed an application which is running on a micro computer with a Debian distribution of Linux. The application is written in Java so it is not compiled as an executable file. (means java files can be easily opened to see the code)
The micro computer is always built in an external case but if someone cracks this case he can steal the external storage and has our application (and source code). We want to protect our application from this situation.
I did some research, but I could only find that we can obfuscate our code. This is not enough actually, so I'm looking for other (more secure) ways to protect our code from people who are able to get the storage medium.
We already thought about an encrypted folder where the code is standing in but I'm not sure if this is possible and if this is a good approach. Is there anyone who can help me on a solution or explain to me the best practice to secure java code on Linux?