« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
XML

Blog::Navigation

GetJava Download Button
Get the Source
Personal Blog

Blog::Referers

Today's Page Hits: 609

Powered by Roller Weblogger.
« Week-end fun with... | Main | ANTLRWorks and fun... »
20070728 Saturday July 28, 2007

If you don't live in Chennai, please skip this post...

I've been receiving many "wrong" calls these days. Apparently, there is a hospital with a telephone number starting with "2664". And my telephone number starts with "2446" and the rest of the digits are same! Looks like folks get confused and dial "44" instead of "66". I end up receiving calls to "Dr. XYZ" at odd times!! Now, I understand what doctors have to go though in their life. Our after working hour conference calls are lot better - at least our US friends understand time zone difficulties and schedule meetings around 8 AM west coast time (which is ~ 8.30 PM in India).



( Jul 28 2007, 12:28:51 PM IST ) Permalink Comments [4] del.icio.us | furl | simpy | slashdot | technorati | digg

Comments:

By chance did you work for Marimba ?

Posted by Prem Kumar on July 29, 2007 at 04:23 PM IST #

Hi Prem Kumar: No, I didn't work for Marimba. May be another Sundararajan!

Posted by A. Sundararajan on July 29, 2007 at 05:49 PM IST #

Oh ok, It could be another Arivind Sundararajan, I work for Marimba project, I have seen that name in java files so that is why I asked you.

Posted by Prem Kumar on July 29, 2007 at 05:56 PM IST #

I have a script question for you I can not find an answer to. I have a very, very simple class, "public class A {}" in my current working directory. I REALLY want to just use this directly in jrunscript.

$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

$ ls
A.java
A.class

$ jrunscript -cp .
js> new java.io.File('A.class').exists();
true
js> java.lang.Class.forName('A');
script error: sun.org.mozilla.javascript.internal.WrappedException: Wrapped java.lang.ClassNotFoundException: A (<STDIN>#1) in <STDIN> at line number 1

I can create some basic Java classes fine, but not anything else. I can not figure out how to change the classpath of the ScriptEngine! I can instantiate other objects, but not this one.

What do I need to do? this is a standalone application.

Ant pulls some trick to get the Project and other Ant API classes into the classpath. I've tried write small jrunscript like programs to set the ContextClassLoader, reflect the instantiate of a ScriptEngine through a ClassLoader (with the right classpath), nothing seems to work.

Please HELP!

Posted by 207.171.191.60 on August 14, 2007 at 06:25 AM IST #

Post a Comment:

Comments are closed for this entry.
Copyright (C) 2005, A. Sundararajan's Weblog