Microsoft sought in court on Tuesday to portray Sun Microsystems' Java programming language as a product threatened by its own shortcomings rather than by any anti-competitive behavior by Microsoft.