Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jdk 1.02

Status
Not open for further replies.

druski

Programmer
Aug 7, 2000
3
A2
I sort-of use JBuilder3 for my development work since I thought that by pointing jdk1.02 as the target jdk everything would be fine and dandy....

Turns out that whenever I compile my native 1.02 source codes using JBuilder3 the classes refuses to run within my browser? I have to recompile using the raw jdk via DOS prompt!!

Does this mean that JBuilder3 automatically inserts call(s) to their own extra runtime code into your code, making it necessary to find and disable those calls? And if the answer is yes, will it be necessary then to deploy their runtime library on your web site?

I just about gave-up on this one. If anybody has the right answer or know of any other way to work around this problem, please give me a holler. Thanks a million!!

druski

Andrew Martinez
andrew_martinez@hotmail.com

[sig]<p>Andrew Martinez<br><a href=mailto:andrew_martinez@hotmail.com>andrew_martinez@hotmail.com</a><br><a href= > </a><br> [/sig]
 
what sort of error messages are you getting. I've found with jbuilder (which kicks fortes but) that you have to be careful to make sure that the destination directory for your classes is set properly otherwise it end up putting it in a silly place. Also do you really mean java 1.02? or 1.2 or 1.12 because jbuilder usually comes with 1.2 so it may be causing some problems with depreciated code [sig]<p>Chris Packham<br><a href=mailto:kriz@i4free.co.nz>kriz@i4free.co.nz</a><br><a href= > </a><br>A thousand mokeys at a thousand machines, it happened, it got called the internet.[/sig]
 
Thanks Chris,

I followed your advice and doubled-check to ensure that infact I'm using jk1.02!! I still use 1.02 for my applets, and jdk1.1.8 for server based programming....

Also could you expound a bit more on the CLASSES thingie...

It's really weird, while in JBuilder3, I compile, everything seems fine, I try running my applet and nothing happens i.e. I only could launch my login page, that's it...

Any assistance will be helpful....



Andrew Martinez
andrew_martinez@hotmail.com

 
JBuilder (3.5 is the only one i've really used) has some set paths for your source, class output and documentation (which you actually have to generate from the command line and put in that directory). We had problems with the ouput getting put into wierd directories when we used it for a big-ish project.

I'm pretty sure jbuilder doesn't put any extra code into yours. It may be that it's using a wierd compiler like the one it came with rather than the one that was released with jdk 1.02. In theory this shouldn't matter because they are supposed to be designed to be backward compatible.

Also the implementaion of java for some browsers may not support older versions (in an effort to keep browsers small) have you tried using the appletviewer program that came with the jdk? This may indicate whether it's your browser, jbuilder or something else.

Also does it run in your browser when you recompile from the command line?
good luck X-)

Chris Packham
kriz@i4free.co.nz

A thousand mokeys at a thousand machines, it happened, it got called the internet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top