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).
Comments:

By chance did you work for Marimba ?

Posted by Prem Kumar on July 29, 2007 at 09:23 AM IST #

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

Posted by A. Sundararajan on July 29, 2007 at 10:49 AM 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 10:56 AM 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 guest on August 13, 2007 at 11:25 PM IST #

Post a Comment:
Comments are closed for this entry.
About

sundararajan

Search

Archives
« April 2014
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
Bookmarks
Links

No bookmarks in folder

Blogroll

No bookmarks in folder

News

No bookmarks in folder