s-news
[Top] [All Lists]

Java insise Splus

To: s-news@lists.biostat.wustl.edu
Subject: Java insise Splus
From: José Gonçalves <zetoeu@gmail.com>
Date: Wed, 18 Jan 2006 01:36:10 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=nzz0Ju83PamxahSR1E3XzsblzeDzAFT1BWP8wQRvGw7u88+zG58EDZXUWdAygivNRHPdKqm+eaH573MeU2fhKrZfdqH8B5xRKf/tJRxOdiEWbn3Ly1vwsUU60uReyiL5WPAyoDx/pRHi3e9tPEG0MZNZ63bBl27SYxrL/sO8pDc=
Reply-to: zetoeu@gmail.com
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051018)
Hello,

Im trying to run java code inside Splus.

> .JavaMethod("Test","main","()V")

However I get "Problem in .JavaMethod("Test", "main", "()..: Java class "Test" not found.

Test is a simple class with a main method.

I trying placing Test.class in java\jre\lib\ext, java\jre\lib , I even tried placing the class inside a jar file. All the above dirs are in the CLASSPATH and in the command prompt [ $ java Test ] runs OK.

I can run splus from java with no problems.

TIA

J. Goncalves

<Prev in Thread] Current Thread [Next in Thread>