j2sdk-1.3.0-Sparc Problems!

2001-06-27 Thread Oktay Akbal


Hello Everyone,

are there any Processor-Requirements with this Version of j2sdk for
Sparc-Linux? We made a short try on an old Ultra 2 and did not get
any Standard-Demo to work. Mostly we got ArrayIndexOutBounds-Exceptions.

Is this a Problem with the old Ultra2 or does our Distribution
(Suse7.1 on Sparc with Kernel 2.2.x glibc2.2) not meet the requirements ?

Thanks for help

Oktay Akbal


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




Installing JRE 1.3.1 on CF-device (Compaq Ipaq)

2001-06-27 Thread Jøran Barkhald Sandberg


Hi all

I'm new to this list, and I don't know if this has been discussed earlier.
I tried searching the archives, but didn't find it there.

My question is about the possibilities of installing Blackdown 1.3.1 on a
CF pcmcia storage device on a Compaq Ipaq. Can it be done?

I'm running Familiar .4, 16 MEGS Flash, 64 RAM and plan to use a 128MB CF
pcmcia card.

A brief howto would be nice... :)

Best regards
Jøran



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




Re: Installing JRE 1.3.1 on CF-device (Compaq Ipaq)

2001-06-27 Thread vijay kukreja

hi all,
i have some code which is as below :

public interface AccountSearch extends AccountSearchBusinessInterface, 
EJBObject

the extends keyword is followed by two class names.
is this valid java.
this code is from  a project i'm trying to understand which is written for 
the J2EE platform.
Is there some other java compiler which accepts multiple classes after 
extends keyword.

please help me if you can.
thanks in advance,
vijay

>From: Jøran Barkhald Sandberg <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Installing JRE 1.3.1 on CF-device (Compaq Ipaq)
>Date: Wed, 27 Jun 2001 14:19:25 +0200 (MEST)
>
>
>Hi all
>
>I'm new to this list, and I don't know if this has been discussed earlier.
>I tried searching the archives, but didn't find it there.
>
>My question is about the possibilities of installing Blackdown 1.3.1 on a
>CF pcmcia storage device on a Compaq Ipaq. Can it be done?
>
>I'm running Familiar .4, 16 MEGS Flash, 64 RAM and plan to use a 128MB CF
>pcmcia card.
>
>A brief howto would be nice... :)
>
>Best regards
>Jøran
>
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>

_
Get your FREE download of MSN Explorer at http://explorer.msn.com


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




Re: Blackdown on SuSE

2001-06-27 Thread Alan Hawrelak


Sam Joseph wrote:

> I can extract the blackdown version, and unpack it but when I try to run
>
> the java command I get this:
>
> l008064:~/j2sdk1.3.0/bin # ./java -version
> Error: can't find libjava.so.
>

You might want to double check that the unpacked version of libjava.so
has the executable bit set. I have unpacked versions of the distribution
where none of the shared libraries were set as executable.

Alan Hawrelak



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




Concurrency

2001-06-27 Thread Citzon Thomas



Hi all,
 
 
One raw is having defferent entity objects in the 
server
 
How the data concurrency is making full 
proof?
 
I want to use jts  and jms extensively in such 
case?.
 
I also want to know the attribute pattern in 
desiging if anybody know much more bout this
 
please help me  if you can.
thanks in advance,
 
Citzon Thomas 



Re: Blackdown on SuSE

2001-06-27 Thread Juergen Kreileder

On Wed, 27 Jun 2001, Alan Hawrelak wrote:

> Sam Joseph wrote:
> 
>> I can extract the blackdown version, and unpack it but when I try
>> to run
>>
>> the java command I get this:
>>
>> l008064:~/j2sdk1.3.0/bin # ./java -version
>> Error: can't find libjava.so.

Looks more like he tried to run a x86 build on S/390
 
> You might want to double check that the unpacked version of
> libjava.so has the executable bit set. I have unpacked versions of
> the distribution where none of the shared libraries were set as
> executable.

Why should shared libraries be marked as executable?  The dynamic
linker does not require this and trying to execute a shared library
usually results in a core dump.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html


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




Problem with 1.3 and J2EE1.2.1

2001-06-27 Thread Eric Richardson

Hi,
A few days ago I installed on Debian 2.2 the j2sdk1.3 from the debian
file.

$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)

I also JAVA_HOME set.
$ echo $JAVA_HOME
/usr/lib/j2sdk1.3

I was previously running 1.2.2 tarball from Sun and had no problems.

Here is the error (typed from dialog box) when I tried to deploy some
working apps.

There was a deployment error. java.rmi.ServerException: RemoteException
occured in server thread; nested exception is: java.rmi.RemoteException:
Error processing ejb jar: access denied (java.io.FilePermission
/usr/lib/j2re1.3/lib/ext read)

>From deploytool window
...
Remote message: Deploying Ejbs
Remote message: Processing beans 
Remote message: Generating wrapper code for BankAccountEJB.
Remote message: Compiling wrapper code 

No hints in server window.

I tried messing with the jre java.policy.
# cat java.policy
grant {
  permission java.security.AllPermission;
};

No luck. The server.policy and client.policy for the J2EE both have
FilePermission for the ext dir.

Any help appreciated,
Eric


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




Re: Blackdown on SuSE

2001-06-27 Thread Sam Joseph


Juergen Kreileder wrote:

> On Wed, 27 Jun 2001, Alan Hawrelak wrote:
>
> > Sam Joseph wrote:
> >
> >> I can extract the blackdown version, and unpack it but when I try
> >> to run
> >>
> >> the java command I get this:
> >>
> >> l008064:~/j2sdk1.3.0/bin # ./java -version
> >> Error: can't find libjava.so.
>
> Looks more like he tried to run a x86 build on S/390

Juergen is right. This was the problem, as someone on a different list
also informed me.
I had been given access to a machine remotely and didn't know what
processor was being used.

Is there some way to check this remotely perhaps?

[quick check of system properties]

I guess typing printenv HOSTTYPE might help.
It all sounds so simple after the event ...

Anyhow, thanks to Alan, Franz and Amol for various helpful comments on the
java library issues which have helped advance my understanding of the
issue.

CHEERS> SAM


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


Linux Java IDEs

2001-06-27 Thread Glenn Holmer

It is with a heavy heart that I post this... IBM has just announced
VisualAge Java 4.0 with availability in late July, and guess what?
There is still no Linux version!  Wow, I'm so surprised!  All we
*still* have is the incomplete and known-to-be-buggy 3.02 that uses
JDK 1.1 with Swing 1.0 (gag me with a spoon...)

But I'm not posting to whine about that; rather I want to ask you
guys which IDE our company should use instead, since IBM is obviously
not interested in license revenue from shops that use Linux.  We are
evaluating JBuilder and Forte/NetBeans.  My impression of JBuilder is
that it's somehow... I don't know, *quirky*.  It may seem strange for
a programmer to rely on gut feeling when evaluating an IDE, but something
about that product just makes my skin crawl.  Forte looks promising, but
when trying it, I encountered the most spectacular windowing bugs I
have ever seen.  For example, when switching to a different desktop
and back again under KDE, the source editor started to drift... and
the window actually slid right off the desktop, never to be seen or
heard from again.  It would actually have been quite comical if our
company hadn't already invested thousands in VisualAge... but that's
another story.  So I downloaded NetBeans 3.2.  I had seen NetBeans
before Sun bought them out, back in the JDK 1.1 days, and it was
just unusably slow.  Now, with faster JVMs and faster machines, it's
definitely worth a look.  I haven't gotten very far with it yet, but
what advice can you guys offer?  What IDEs should shops with Linux coders
consider?  Let me give some background first: our two top Java
programmers (oh, is that me?) are total penguinistas; apart from the
pride issue, it would result in an unacceptable loss of productivity
for either of us to switch operating systems (in fact, I just turned
down a machine upgrade because it would be too disruptive).  This
despite the fact that over the past few years we have put out tens
of thousands of lines of Java using only a text editor (jEdit RULEZ!).
However, we are trying to train some BASIC and RPG programmers to use
Java in the hope that we can all just get along and maybe even share
some code, and they run W**.  So the criteria are that the IDE
has to be relatively easy to learn (yes I know, then why were we
considering VisualAge in the first place) and yet full-featured enough
to offer help to these poor lost RPG souls in their quest to write PC
applications that access data on our AS/400s.  Oh, yeah, and it has to
be available on both W** and Linux.  What should we do?

P.S. Don't get me wrong, I have spent the last couple months intensively
studying VisualAge (including taking IBM course OB75), and got to the
point of infatuation, even obsession with VisualAge before realizing
that IBM was going to "OS/2" the Linux version.  In an ideal world, that
is the choice we would have made, but we can't wait any longer.  It was
a major tussle to convince these new Java programmers that they should
learn by hand-coding and only then pick up an IDE; we definitely can't
wait any longer to put IDEs on their desktops.

-- 
   ==
Glenn Holmer ([EMAIL PROTECTED])
   --
You can now flame me, I am full of love, and will ignore
any insults, because that is how good my Gnus filter is.
   --
 -Miguel deIcaza
   ==



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




Re: Linux Java IDEs

2001-06-27 Thread Joi Ellis

On Wed, 27 Jun 2001, Glenn Holmer wrote:

> It is with a heavy heart that I post this... IBM has just announced
> VisualAge Java 4.0 with availability in late July, and guess what?
> There is still no Linux version!  Wow, I'm so surprised!  All we
> *still* have is the incomplete and known-to-be-buggy 3.02 that uses
> JDK 1.1 with Swing 1.0 (gag me with a spoon...)
> 
> But I'm not posting to whine about that; rather I want to ask you
> guys which IDE our company should use instead, since IBM is obviously
> not interested in license revenue from shops that use Linux.  We are
> evaluating JBuilder and Forte/NetBeans.  My impression of JBuilder is
> that it's somehow... I don't know, *quirky*.  It may seem strange for
> a programmer to rely on gut feeling when evaluating an IDE, but something
> about that product just makes my skin crawl.  

Perhaps if you were a little more specific, we could remove the creepy
critters. 

JBuilder is an all-java application, so it is very dependent upon having
a stable JVM.  You don't say which JBuilder you tried, but if it was JB4,
the bundled IBM JVM was absolute crap.  Replace it with Sun's 1.3.0 or
1.3.1 and the thing works great.

Borland has since released a port of Delphi for Linux, Kylix.  I'm
confident they plan to support Linux into the forseeable future.

I selected JBuilder for myself over a year ago because at the time it
was the *only* IDE which had a Linux client *and* JKD 1.2.2 support.
IBM was still in the 1.1 dark ages, and there was no other downloadable
eval for Linux available.

Borland seems to be on a 8-month release cycle, so new versions some out
regularly.  JBuilder 5 just hit the streets a few weeks ago.  The free
'Personal' edition isn't available for download yet, but you can order
an Eval version of Enterprise to try out.  (JB5 has a Sun JVM bundled this
time, no more broken IBM junk!)


-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


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




Re: Linux Java IDEs

2001-06-27 Thread Chris Kakris

Glenn Holmer wrote:
> 
> 
> definitely worth a look.  I haven't gotten very far with it yet, but
> what advice can you guys offer?  What IDEs should shops with Linux coders
> consider?
> 

Well I've tried a number of IDEs over the years and I keep going back
to a simple text editor and build utility. At the moment I use vim
(for the syntax highlighting) and Ant. Works on both Windows and Unix.
Some people prefer Emacs and from what I can tell it can be a pretty
awesome development environment:

  http://www-106.ibm.com/developerworks/java/library/j-emacs/?open&l=302,t=grj,p=Emacs

Other people use Make instead of Ant but I find Ant easier to use and
it's extensible too.

I don't know why I keep going back to vim but I guess I have never
found those gui building features helpful and never had luck doing
complete code cycle stuff with them. Besides I almost exclusively
write server side code and not any Swing. Also, I use a Pentium II
266MHz laptop so it's a little underpowered for most modern IDEs.

This probably doesn't really help you but I wanted to raise my hand
and say that there are people how are very productive even without
using one of those bloated IDEs. Oops did I say that?

-- 
Chris Kakris  http://www.dynamic.net.au/christos/
ZDS Services Pty Ltd  414 Gilbert Road, Preston, Victoria 3072, Australia


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




Re: Linux Java IDEs

2001-06-27 Thread wyrd

Glenn Holmer wrote:
> 
> But I'm not posting to whine about that; rather I want to ask you
> guys which IDE our company should use instead,

The one that works best for you. :)

After trying 4 or 5 I found JBuilder worked very well for me.  I
suppose it does have it's quirks, but I have yet to find and IDE
that doesn't.  Perhaps it's a matter of finding the one with quirks
that are most agreeable to one's own.

Borland also has news groups you can get just about any question
answered via.  

I use JBuilder on both Linux and Lose2K. Works fine on both.


~Rob


-- 
wYRd.:|:[EMAIL PROTECTED]:|:.prohibitions void where offered
  de recta non tolerandum sunt


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




Re: Linux Java IDEs

2001-06-27 Thread wyrd

Chris Kakris wrote:
> 
> 
> This probably doesn't really help you but I wanted to raise my hand
> and say that there are people how are very productive even without
> using one of those bloated IDEs. Oops did I say that?

This is one of those dirty little secrets that tends not get mentioned
in the 'minimum system requitements'.  And thank you for pointing it 
out.

Goodness knows I've also written plenty of code with NEdit/JEdit/XEmacs.

Side note,  if you have the system for it, a good IDE has tools that
speed just about any kind of coding, not just UI building.  

  ~Rob
-- 
wYRd.:|:[EMAIL PROTECTED]:|:.prohibitions void where offered
  de recta non tolerandum sunt


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