Skip to content

Category: english

Java, listing system properties

This code prints out your system properties.

import java.util.Properties;
public class PropertiesLister{
   public static void main (String args[]){
       Properties props = System.getProperties();

In the machine I’m writing right now:

— listing properties — SE Runtime Environment
java.vm.vendor=Sun Microsystems Inc.
path.separator=: HotSpot(TM) Server VM
sun.os.patch.level=unknown Virtual Machine Specification

java.vm.specification.vendor=Sun Microsystems Inc.
java.library.path=/usr/lib/jvm/java-6-sun-… Platform API Specification
java.class.version=50.0 Server Compiler
java.specification.vendor=Sun Microsystems Inc.
user.language=pt mode
java.vendor=Sun Microsystems Inc.

Try out at your home. :)

Opensolaris in a Junior Enterprise

Ejr empresa júnior da computação
Ejr actual officer

These days I visited the junior enterprise of my course (computer science, UFC). They are just starting and now have they own room.

The Junior Enterprise article at Wikipedia says:

This is an opportunity for students to develop self confidence and experience entrepreneurship at an early stage in their careers, to add practical experience to the theoretical skills and to provide private business with state-of-the-art knowledge from universities.

For my big surprise I found that they have also have an machine with Opensolaris installed for testing they softwares in multiples platforms. Very cool! If they continue to study and improve their skills in Opensolaris they can have an very special differential and goods business opportunities.

Very cool, keep going guys! :D

Pythons at Sun

Pythons at Sun

Good news. Two important Pythonistas, Ted Leung (Apache Foundation member) and Frank Wierzbicki (Jython lead) joined Sun Microsystems.

It’s one important step in the recognition of the Python language and certainly will bring benefits for the Python Community. Some things I’d like to see:

  • Python support on Netbeans. Bringing Python as a first class citizen on Netbeans, syntax highlight, code completion, debugging tools, unitary testing, Jython and a lot of more.
  • Django support on Netbeans. As we have Rails and Ruby support on Netbeans we can have also Django and Python support on Netbeans. Django is accessed with some command line tools, the work is just plug this on Netbeans, and its architecture makes this not hard. We could have a lot of wizards to creating new models and views. I’d love that.
  • More support of Python and dynamic languages at JVM. There’s already the Da Vince Machine Project on the OpenJDK Project. I hope one day we can see call the Java Virtual Machine as Universal Virtual Machine or Multi Language Virtual Machine.
  • More Python on OpenSolaris. Some projects at OpenSolaris are allready using Python, see Image Packaging System Project. Python is a really good language for common script tasks and I use it for that purpose very often. We could see a lot of wizards and configuration panels in Opensolaris using Python and PyGTK or PyQT.

It’s really a great moment for Sun and Open and Free Software. I’m happy with all that? You can bet on it. :D

Sources: Tim Bray Blog and Cnet news.

More books

More books to my shelf.

Livros novos

  • Ruby On Rails, Executando. Desenvolvimento Rápido para a Web. Bruce A. Tate & Curt Hibbs.
  • Ruby, conhecendo a linguagem. Eustáqui Rangel de Oliveira Jr.
  • JavaFX Script. Dynamic Java Scripting for Rich Internet/Clien-Side Applications. James L. Weaver.

First I’ll take a look … JavaFX, of course. :)

ps: The JavaFX book I win as a prize for naming the SDN Channel podcast, CampusCast. Thanks Edu that bring it to me from USA. ;)