Solved

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

Posted on 2002-06-07
6
642 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 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
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.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat administrtor 12 61
pagenation logic how it is working in my code 1 56
ejb entity bean example issue 2 17
printf performancy 11 71
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

830 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