Sun Microsystems on Wednesday released the second beta of Java 6, the company’s next-generation development language targeted at so-called Web 2.0 programmers. Perhaps most enticing for those new to Java, the update adds a framework for supporting popular scripting languages such as PHP.