Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I install bdk (Beans Dev. Kit) on Linux?

Posted on 2002-06-07
6
Medium Priority
?
731 Views
Last Modified: 2013-11-21
I am working my way through the book "Just Java." Things were
going well until I got to chapter 23, "Java Beans in Theory."  My
troubles with installing a bean development environment are many.  
So this is one of three postings, each covering a different area
and each awarding its own points.

This question is can I install bdk1.1 (Bean Development Kit
1.1) on Linux and how?

The book chapter expects one to have bdk available, even though it
says that bdk is no longer supported. I cannot find a bdk for
Linux on the Sun web site. So I downloaded the bdk for Solaris.  
(Java is supposed to be Run-Anywhere.  Right?)

I have a file called:          bdk1_1-solsparc.bin

This file starts out like a shell script.  Then it changes
abruptly to binary.  The script seems to want some parameters.  
But what is not documented.

I run it like so:              

        # . ./bdk1_1-solsparc.bin

I get the following messages:

    ls : bash: No such file or directory
    chksum: /tmp/install.dir.30268/InstallerData/installer.zip: No such file or directory
    expr:  syntax error
    ls: bash: No such file or directory.

    Please choose a Java virtual machine to run this program.
    (These virtual machines were found on your PATH)
    ---------------------------------------------------------
    1. /usr/java/j2sdk1.4.0/bin/java
    2. /usr/bin/java
    3. /usr/bin/java
    4: Exit.
    Please enter your selection (number):

I enter 1.  That is the path I get when I run "which java."
(/usr/bin/java contains a short script that runs kaffe.)

Then the script exits and nothing happens.  

Question.  Is it even possible to install bdk on Linux?  If so,
how?
0
Comment
Question by:Jim_S
  • 4
  • 2
6 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 7064668
 Whoah... I have not used BDK since my university years (three years ago)... Anyhow from what I remember there must be three versions of BDK. One for Windows, one for Solaris and one that can be used for any platform that supports a java2 environment. I would strongly suggest you to download the platform-independent version, since I think the Solaris and Windows ones are using operating-specific features through JNI calls.

  After installation completes you will need to run your BeanBox by using the "java" command (in contrast with th eSOlaris one where you need to run it by running the run.sh script).

  Hope it helps.
0
 

Author Comment

by:Jim_S
ID: 7064920
girionis>there must be three versions of BDK. One for Windows, one for Solaris and one that can be used for any
girionis>platform

I could only find two platforms, Solaris and Windows at
the following URL.

    http://java.sun.com/products/javabeans/software/bdk_download.html

Do you have a better URL?

girionis>After installation completes ...

If I ever get it installed ...

girionis>I have not used BDK since my university years

So what do you use now as a bean-testing tool now?  
(I have posted another question asking how to do bean testing
with Forte.)

0
 
LVL 35

Accepted Solution

by:
girionis earned 400 total points
ID: 7065150
 You are lucky, I have kept the address:

http://java.sun.com/beans/software/index.html

  To download the platform independent BDK go to the section that says : "To download a platform independent BDK 1.1, click on the "continue" button.". It is just below the one that has the BDK for Solaris and Windows.

  >So what do you use now as a bean-testing tool now?

  I am not using the BDK to test beans. I am just testing them alongside with the rest of the beans in my application.

  Hope it helps.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 35

Expert Comment

by:girionis
ID: 7065154
 Forgot to mention. When you go to the above page you will need to click on the "BDK 1.1 - April '99 download" link.

 
0
 

Author Comment

by:Jim_S
ID: 7066238
girionis,

My apologies.  There is a button for downloading a
platform-independant version.  (I feel stupid for not seeing
it the first time.)

I've downloaded it and got it working -- kind of. It throws me an
exception now and then.  But it keeps on working after the
exception.

Thank you.


Jim S.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7066374
 Do not worry. Everybody has been through this. I am glad I helped. Thank you for the points :-)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question