The student visa prohibits/limits you from holding employment in Japan. It doesn't explicitly prohibit you from buying and selling things for profit. Note that the tax authorities could view your profit as miscellaneous income, and depending upon how the money flows to you (and the amount) it could present some difficulties.
In general, assuming you have the rights to sell the software you are selling, there shouldn't be any issue with your visa.