Obviously there are lot of definitions of what Java is or isn't and my opinion on the matter isn't very important to anyone at either Oracle or Google, but I was poking around at some things in an Android application at work looking for something. I ended up getting the system properties from System.getProperties() and present the following comparison:
System Properties from Sun Java 6 JVM on my Ubuntu laptop -
file.encoding.pkg: sun.io
file.encoding: UTF-8
file.separator: /
java.class.path: /usr/share/groovy/lib/groovy-1.7.2.jar
java.class.version: 50.0
java.endorsed.dirs: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/endorsed
java.ext.dirs: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/ext:/usr/java/packages/lib/ext
java.home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
java.io.tmpdir: /tmp
java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/amd64/server:/usr/lib /jvm/java-6-sun-1.6.0.22/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/.. /lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name: Java(TM) SE Runtime Environment
java.runtime.version: 1.6.0_22-b04
java.specification.name: Java Platform API Specification
java.specification.vendor: Sun Microsystems Inc.
java.specification.version: 1.6
java.vendor: Sun Microsystems Inc.
java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
java.vendor.url: http://java.sun.com/
java.version: 1.6.0_22
java.vm.info: mixed mode
java.vm.name: Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Sun Microsystems Inc.
java.vm.specification.version: 1.0
java.vm.vendor: Sun Microsystems Inc.
java.vm.version: 17.1-b03
line.separator:
os.arch: amd64
os.name: Linux
os.version: 2.6.35-25-generic
path.separator: :
program.name: groovysh
script.name: /usr/bin/groovysh
sun.arch.data.model: 64
sun.boot.class.path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes
sun.boot.library.path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/amd64
sun.cpu.endian: little
sun.cpu.isalist:
sun.desktop: gnome
sun.io.unicode.encoding: UnicodeLittle
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: UTF-8
sun.management.compiler: HotSpot 64-Bit Server Compiler
sun.os.patch.level: unknown
tools.jar: /usr/lib/jvm/java-6-sun/lib/tools.jar
user.country: US
user.dir: /media/extra/source/sdg-android/zxing-base
user.home: /home/kslater
user.language: en
user.name: kslater
user.timezone:
System Properties from Android 2.1 Dalvik VM -
android.vm.dexfile: true
file.encoding: UTF-8
file.separator: /
http.agent: Dalvik/1.1.0 (Linux; U; Android 2.1-update2; bb_bip6000 Build/ERE27)
java.boot.class.path: /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
java.class.path: .
java.class.version: 46.0
java.compiler:
java.ext.dirs:
java.home: /system
java.io.tmpdir: /sdcard
java.library.path: /system/lib
java.net.preferIPv6Addresses: true
java.runtime.name: Android Runtime
java.runtime.version: 0.9
java.specification.name: Dalvik Core Library
java.specification.vendor: The Android Project
java.specification.version: 0.9
java.vendor: The Android Project
java.vendor.url: http://www.android.com/
java.version: 0
java.vm.name: Dalvik
java.vm.specification.name: Dalvik Virtual Machine Specification
java.vm.specification.vendor: The Android Project
java.vm.specification.version: 0.9
java.vm.vendor: The Android Project
java.vm.vendor.url: http://www.android.com/
java.vm.version: 1.1.0
javax.net.ssl.trustStore: /system/etc/security/cacerts.bks
line.separator:
os.arch: armv5tel
os.name: Linux
os.version: 2.6.32.24-sdg
path.separator: :
user.dir: /
user.home:
user.language: en
user.name:
user.region: US
Hmm. Looks like a lot of the same stuff in properties. This really means nothing other than Google wanted to make the system environment as compatible as possible for prospective developers I guess, but it's just curious to me that while it's not Java, it sure looks like Java does from this one perspective..

Just a place to put together some thoughts on Java, Technology and Other Stuff (tm) that interests me.
Thursday, February 3, 2011
Wednesday, June 30, 2010
Thursday, June 17, 2010
Waiting..
I'm waiting for a gas tank to arrive from California. I'm waiting for parts for the leakmaster carb from Georgia. Man I hate waiting.
Tuesday, June 15, 2010
Carb rebuild and leaking like a sieve..
I took the carburetor off and used a gasket set to replace all the old gaskets. I also cleaned it out well and blew out the jets. Everything looked great. While I had the carb out I decided to drain the tank and clean out the sediment trap and tank screen. I fixed the routing of the cables and the fuel line too. Everything seemed to be looking up. I put it all back together and it leaked like a sieve. I think it leaked fuel faster than it used to come out of the tank.
So I learned that if you're going to clean and rebuild a carb, spend the extra $5 and get the kit with the float, pin and needle valve. Now I have to order parts and wait for the them to come in before I can work on the running parts.
I did spent a bit of time adding some electrical bits. I started it up, even with all the leakage, and what do you know, I have working running lights. That means the voltage output and regulator work, which is another positive.
I also took some time and pounded out some dents. I find it's cathartic to do that sort of work. A dolly and pick and big honking ballpeen hammer that was from my wife's aunt's house. It's old and crusty like a lot of the Vespa. But it's a great tool for doing metal work because it moves the metal around so easily.
So I'll order some parts and work on other bits until I can staunch the flow of gasoline. That stuff's much better going down the throat of the carb..
So I learned that if you're going to clean and rebuild a carb, spend the extra $5 and get the kit with the float, pin and needle valve. Now I have to order parts and wait for the them to come in before I can work on the running parts.
I did spent a bit of time adding some electrical bits. I started it up, even with all the leakage, and what do you know, I have working running lights. That means the voltage output and regulator work, which is another positive.
I also took some time and pounded out some dents. I find it's cathartic to do that sort of work. A dolly and pick and big honking ballpeen hammer that was from my wife's aunt's house. It's old and crusty like a lot of the Vespa. But it's a great tool for doing metal work because it moves the metal around so easily.
So I'll order some parts and work on other bits until I can staunch the flow of gasoline. That stuff's much better going down the throat of the carb..
Saturday, June 12, 2010
Adding parts and not starting
Added some parts. Some seen, some unseen. Still having troubles getting it to fire up and run. I'm going to clean and rebuild the carb next..
Tuesday, June 1, 2010
Project Vespa - She lives!
Well I got the Vespa running. I got some advice and after verifying that I had spark, I began work on the fuel delivery system. Once I was sure that the fuel delivery valve was allowing fuel to flow to the carburetor, I moved on to removing it and giving it a good cleaning. Then I reassembled everything to the point of having a running motor (less the shrouds and other bits). I drifted it down the driveway a couple of times before I realized that I had knocked the ground off on the electronic ignition. Once I reconnected that, a couple more drifts down the driveway and it came to life! Woohoo! Lots of smoke so I still have something to solve with fuel mixture, but it runs. And that's a huge relief. Now I can move on to stripping things down to get the body work sort out. And I can begin to buy some of the replacement parts needed.
Saturday, May 29, 2010
Starting a new project in the other category
I took it in a trade to get rid of an old car that I had lost the will to work on. Turns out the guy that took it had a rusty truck (been there, don't want to return) or a rat-rod Vespa. It's pretty ratty. But I'm going to try to bring it back to Vespa glory. My goal is to end up with something along these lines -
Obviously, I have a long way to go to get there. First thing is to get the engine running and I'm working on that task at the moment. Then I'll strip it down and begin the work of getting the body work stripped, smoothed and repainted.
Subscribe to:
Posts (Atom)