Solved

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

Posted on 2002-06-07
6
687 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

615 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