Tritonus 0.1.91

2000-03-24 Thread Matthias Pfisterer

Hi,

Tritonus is an implementation of the Java Sound API for Linux.
New features of version 0.1.91:
- MIDI out is working!! (exception: sysex events)
- major improvements in handling of 8-bit sound data

You can download Tritonus from
http://download.sourceforge.net/tritonus/

Additional information can be found at:
http://tritonus.sourceforge.net/

If you want to jion the effort, you may have a look on the developer's
page:
http://tritonus.sourceforge.net/developer.html

As usal, bug reports and suggestions are welcome.

Have fun,
Matthias


-- 
Matthias Pfisterer  

Java Sound Examples:
http://rupert.informatik.uni-stuttgart.de/~pfistere/jsexamples/
Trionus, the open-source implementation of Java Sound for Linux:
http://tritonus.sourceforge.net/
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Problems installing Java plugin - sharkive broken?

2000-03-24 Thread Rachel Greenham

I can't seem to install the Java plugin on SuSE 6.3.

If I run the Sharkive, ie:

sh JavaPlugIn_1.2.2.px.sh

It shows me the license message in more, but when I leave that, I just get
the following errors:

: command not found.sh:
: command not found.sh:
: command not found.sh:
': not a valid identifierxport: `RESPONSE
Do you agree to the above license terms?
If you do not agree to the terms, installation cannot proceed
'avaPlugIn_1.2.2.px.sh: line 275: syntax error near unexpected token `then
'avaPlugIn_1.2.2.px.sh: line 275: `if  (  test -w . )
then  

Looks broken, dunnit? :-)

I then tried picking through it by hand, replicating the necessary steps
from the script, ie:

> outname=install.sfx.$$ 
> tail +341 JavaPlugIn_1.2.2.px.sh > $outname 
> zcat < $outname | (cd $HOME/.netscape ; tar xf - ) 
 
zcat: stdin: invalid compressed data--format violated

Also, the file specified in $outname is not of any format recognised by ark.

What's happening?

My system is SuSE 6.3, glibc 2.1.2, kernel 2.2.14, with Netscape 4.72, 128Mb
RAM.

-- 
Rachel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Problems installing Java plugin - sharkive broken?

2000-03-24 Thread Tom Williams

I had this same problem and it was caused by the format of the file I
downloaded from the Blackdown site.  I downloaded the same file from a
mirror site and the problem went away.

Peace.

Tom




Rachel Greenham <[EMAIL PROTECTED]> on 03/24/2000 06:07:20 AM

To:   [EMAIL PROTECTED]
cc:(bcc: Tom Williams/HQ/dssi)
Subject:  Problems installing Java plugin - sharkive broken?




I can't seem to install the Java plugin on SuSE 6.3.
If I run the Sharkive, ie:
sh JavaPlugIn_1.2.2.px.sh
It shows me the license message in more, but when I leave that, I just get
the following errors:
: command not found.sh:
: command not found.sh:
: command not found.sh:
': not a valid identifierxport: `RESPONSE
Do you agree to the above license terms?
If you do not agree to the terms, installation cannot proceed
'avaPlugIn_1.2.2.px.sh: line 275: syntax error near unexpected token `then
'avaPlugIn_1.2.2.px.sh: line 275: `if  (  test -w . )
then
Looks broken, dunnit? :-)
I then tried picking through it by hand, replicating the necessary steps
from the script, ie:
> outname=install.sfx.$$
> tail +341 JavaPlugIn_1.2.2.px.sh > $outname
> zcat < $outname | (cd $HOME/.netscape ; tar xf - )
zcat: stdin: invalid compressed data--format violated
Also, the file specified in $outname is not of any format recognised by
ark.
What's happening?
My system is SuSE 6.3, glibc 2.1.2, kernel 2.2.14, with Netscape 4.72,
128Mb
RAM.
--
Rachel

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Problem with jar execution after installation

2000-03-24 Thread Joe Johnson

Hello,

I get the following eror when I try to jar up a set of files I just
javac'ed:

java.lang.NoClassDefFoundError: sun/tools/jar/Main
at java.lang.Throwable.(Throwable.java:40)
at java.lang.Error.(Error.java:21)
at java.lang.LinkageError.(LinkageError.java:21)
at
java.lang.NoClassDefFoundError.(NoClassDefFoundError.java:21)


javac and java are working.  Anyone know why my jar isn't working?

thanks
Joe Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




JVM related ?

2000-03-24 Thread Ganesh Sivaraman

Hello,

I am looking for some book/link or anything which could answer the
following basic Q's.

1. How JVM works?
2. Which are the most important and fundamentals components in any JVM?
3. And so on..

Basically I need to give a report on the capabilites of Sun's JVM and
another vendors implementation

So could anyone help me out in pointing out as to which are the main
aspects I should look into..

Thank you,

Ganesh.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Problems installing Java plugin - sharkive broken?

2000-03-24 Thread Rachel Greenham

Tom Williams wrote:
> 
> I had this same problem and it was caused by the format of the file I
> downloaded from the Blackdown site.  I downloaded the same file from a
> mirror site and the problem went away.

Hmm. I did download from a mirror... this one: ftp://ftp.tux.org/pub/java/ 

I think I'll go in with command-line FTP and make sure I'm getting it binary
rather than ASCII. Maybe that's it. Trying it with wget now.

-- 
Rachel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Servlet libraries

2000-03-24 Thread John Rousseau


On Friday Mar 24, 2000, Alan Westhagen wrote:

> SimpleServlet.java:1: Package javax.servlet not found in import.

You need to get servlet.jar to do servlet work. It doesn't come with
the J2SE. Look under...

http://java.sun.com/products/servlet/index.html

-John


John Rousseau   [EMAIL PROTECTED]
SilverStream Software   
1 Burlington WoodsPhone: +1 781 238 5564
Burlington, MA 01803Fax: +1 781 238 5499



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Classpath

2000-03-24 Thread Ben Pharr

Where and how should I set my classpath in Linux?  I have it working fine 
Windows, but I can't import any classes or packages in Linux.  Please help!!

Ben


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Servlet libraries

2000-03-24 Thread Alan Westhagen

Trying to compile the example on p.714 of Nathan Meyers' book,
I get errors in lines 1 and 2

import javax.servlet.*;
import javax.servlet.http.*;

The error message for line 1 is:

SimpleServlet.java:1: Package javax.servlet not found in import.

Since other correct java programs compile okay, I assume that I
am missing some development component, or some configuration
parameter.

I am using Blackdown jdk1.2.2, RC4.

Has anyone else experienced this problem?

Any advice would be much appreciated.

Regards,
Alan Westhagen
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Classpath

2000-03-24 Thread Syam_Kumar_Abburi



You set class path like any other environment variable. Just like path. You need
to export the classpath
after setting. Otherwise you can place it in a .profile file (.profile will
initialize environment variables when you
login in Unix. I do not  know whether similar concept is there in Linux).
ex: CLASSPATH=$CLASSPATH:/x/y/z.jar
export CLASSPATH




"Ben Pharr" <[EMAIL PROTECTED]>
03/24/2000 12:39 PM


To:   [EMAIL PROTECTED]
cc:(bcc: Syam Kumar Abburi/SSC/THD)
Subject:  Classpath




Where and how should I set my classpath in Linux?  I have it working fine
Windows, but I can't import any classes or packages in Linux.  Please help!!

Ben


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Classpath

2000-03-24 Thread Jacob Nikom

With latest JDK1.2.2 I don't think you need CLASSPATH on Linux.
If you want you can set it to JAVA_HOME/bin
setenv CLASSPATH .:JAVA_HOME/bin

Don't forget to set 
setenv LD_LIBRARY_PATH .:/local/lib:/usr/lib:/usr/lib/X11:/usr/local/lib

Don't forget to set your PATH!

Jacob Nikom


Ben Pharr wrote:
> 
> Where and how should I set my classpath in Linux?  I have it working fine
> Windows, but I can't import any classes or packages in Linux.  Please help!!
> 
> Ben
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Classpath

2000-03-24 Thread Man Chi Ly

On Fri, 24 Mar 2000, Jacob Nikom wrote:

> With latest JDK1.2.2 I don't think you need CLASSPATH on Linux.
> If you want you can set it to JAVA_HOME/bin
> setenv CLASSPATH .:JAVA_HOME/bin
> 
> Don't forget to set 
> setenv LD_LIBRARY_PATH .:/local/lib:/usr/lib:/usr/lib/X11:/usr/local/lib
> 

chances are a Linux newbie is using bash (default on GNU/Linux) :) The
short answer is CLASSPATH is pretty much deprecated in JDK 1.2 (the
JDK README briefly discusses this). And I'm pretty sure a more lengthy
discussion can be found on java.sun.com. This question is a FAQ, and with
sketchy details ("can't import any classes"), doesn't really belong on
this mailing list?

> Don't forget to set your PATH!
> 
> Jacob Nikom
> 
> 
> Ben Pharr wrote:
> > 
> > Where and how should I set my classpath in Linux?  I have it working fine
> > Windows, but I can't import any classes or packages in Linux.  Please help!!
> > 
> > Ben
> > 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




EJBs on Linux

2000-03-24 Thread Lorin Kobashigawa

Is it possible to use EJBs under linux?  Sun's documentation makes it seem
like they require J2EE, but i've seen some references to open-source EJB
containers that run on Linux.

-Lkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: EJBs on Linux

2000-03-24 Thread Man Chi Ly

On Fri, 24 Mar 2000, Lorin Kobashigawa wrote:

> Is it possible to use EJBs under linux?  Sun's documentation makes it seem
> like they require J2EE, but i've seen some references to open-source EJB
> containers that run on Linux.
> 
> -Lkb
> 

Lorin,

I'm starting to look into EJBs myself (and was sorta wanting to ask a
similar question). To answer to the best of my limited knowledge, EJBs
run in an EJB container.. it has nothing to do with the OS. I realize
you're asking for an EJB container that works under Linux. Weblogic 4.5.1
is a commercial and officially supported product. As for free
(speech) implementations, I haven't researched much but I haven't seen
any. IBM offers WebSphere App Server as a free (non-crippled) eval
download. I had no luck getting it working under SuSE 6.3 because v. 2.03
is hooked to an older build of Apache. Their docs do explicitly say which
Linux distros (and versions) will work.. Also, WAS 2.03 is not EJB 1.1
compliant (v. 3 will ship within months).

Finally, I tried to install Sun's J2EE reference implemenation (for
Solaris) on Linux. The .sh installer didn't even pass the checksum of the
downloaded file (I tried a couple times). I don't know why this is the
case, but I do recall that J2EE right now is not "Pure Java" so the
likelihood of it running smoothly on Linux right now are slim.

Maybe one of the blackdown JDK developers can comment more precisely.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Classpath

2000-03-24 Thread Dimitrios Vyzovitis


Man Chi Ly wrote:
chances are a Linux newbie is using bash (default
on GNU/Linux) :) The
short answer is CLASSPATH is pretty much deprecated in JDK 1.2 (the
JDK README briefly discusses this). And I'm pretty sure a more lengthy
discussion can be found on java.sun.com. This question is a FAQ, and
with
sketchy details ("can't import any classes"), doesn't really belong
on
this mailing list?

There are more interesting uses of the classpath, than importing
system classes.
For instance, the classpath allows you to construct a class repository,
without having to cross link all
the jar or class files to the jre/lib directory every time you upgrade
you jdk version
For instance, I am using an /opt/java/repository directory for my class
repository and have something
like the following in the user login scripts (in profile.d directory):


#! /bin/sh

JAVA_TOPDIR=/opt/java

# Set the CLASSPATH
JAVA_REPOSITORY=${JAVA_TOPDIR}/repository
CLASSPATH=${JAVA_REPOSITORY}/classes

# add jar files
for i in ${JAVA_REPOSITORY}/jar/*.jar
do
    CLASSPATH=${CLASSPATH}:${i}
done

for i in ${JAVA_REPOSITORY}/jar/*.zip
do
    CLASSPATH=${CLASSPATH}:${i}
done

# Add the current dir to the path
CLASSPATH=$CLASSPATH:.

# Check jdk version
if [ -f $JAVA_TOPDIR/JAVA2 ];
then
    JDK_HOME=$JAVA_TOPDIR/jdk
    JIKES_CP=$JDK_HOME/jre/lib/rt.jar:$CLASSPATH
    #export JAVA_COMPILER=tya
else
    JDK_HOME=$JAVA_TOPDIR/ibmjdk
    CLASSPATH=${CLASSPATH}:${JAVA_TOPDIR}/jdk.x/swing/swingall.jar
    JIKES_CP=$JDK_HOME/lib/classes.zip:$CLASSPATH
    if [ -n "$JAVA_COMPILER" ]; then
    unset JAVA_COMPILER
    fi
fi

PATH=$JDK_HOME/bin:$PATH

# native libraries repository
JNI_REPOSITORY=${JAVA_REPOSITORY}/native

export PATH CLASSPATH JAVA_TOPDIR JAVA_REPOSITORY JDK_HOME JIKES_CP JNI_REPOSITO
RY
  As you can notice, this script allows instant change between jdk versions - rm the JAVA2 marker and you are back to ibm jdk! -- dimitris     mailto:[EMAIL PROTECTED]  


Re: Problems installing Java plugin - sharkive broken?

2000-03-24 Thread Karl Asha

Seems a lot of people have managed to download the plugin in ascii
mode. It needs to be explicitly downloaded in binary mode. The version
at ftp.tux.org is correct. That site is actually the central mirror
repository. 

Cheers, 
Karl


Rachel Greenham writes:
 > Tom Williams wrote:
 > > 
 > > I had this same problem and it was caused by the format of the file I
 > > downloaded from the Blackdown site.  I downloaded the same file from a
 > > mirror site and the problem went away.
 > 
 > Hmm. I did download from a mirror... this one: ftp://ftp.tux.org/pub/java/ 
 > 
 > I think I'll go in with command-line FTP and make sure I'm getting it binary
 > rather than ASCII. Maybe that's it. Trying it with wget now.
 > 
 > -- 
 > Rachel
 > 
 > 
 > --
 > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]