File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes can a jdk1.3prog run a class compiled in jdk1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "can a jdk1.3prog run a class compiled in jdk1.4" Watch "can a jdk1.3prog run a class compiled in jdk1.4" New topic
Author

can a jdk1.3prog run a class compiled in jdk1.4

bundak salas
Greenhorn

Joined: Jun 03, 2003
Posts: 1
hi just wondering since i've been compiling my classes with 1.4 online but my school java IDE is powered only by 1.3 and i'm not allowed to change it.. i have found an online compiler(www.myjavaserver.com) for java but is there an online program that can run it? i cant download or install any software in my school computer.. help! i need 1.4 functionality like wide screen..
thanks in advance


what's this for?
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

Perhaps you could unzip the 1.4 JDK (which of course has a JRE) and burn it onto a CD. Then you can pop the CD into the CD Drive at school and use it to run your program (and compile it as well). (This won�t install anything on the schools computer.) You might get some minor performance slow downs, but it should work. Of course I would check the JDK End User License Agreement to validate this is ok; as long as you are using it for personal use and not distributing it, I don�t envision it being a problem, but its always best to check. � Just an idea� Of course this assumes you or someone you know has access to a CD burner.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

I guess, if you got luck, they will run on 1.3, but only if they haven't been changed.
Try it.
On the other hand: jdk1.4 is released since a long time, and soon 1.5 will appear.
Talk to your Teacher. To other teachers. Seek for pupils with kindred spirit.
If they teach you java, they like to teach you a nowadays technique.
They should be intereseted in giving you the actual equipement.
Try to find out, why they don't like you to install 1.4.
You really have to try to understand their position, perhaps they will respond the same way and understand your position.
Can you help them with their sorrows?
Keep work from them away, perhaps they don't want to install it on 30 Desktops, and don't want to have things working here but not there? Can you (and your friends) install it on every Desktop?
After regular school-time?
Perhaps they have some real old applications and fear that they won't work any longer? Can you test it for them?
On the other hand: You may learn the fundamentals and a lot of things about programming with 1.3, even with 'C'.
And later you will allways find things, which aren't supported, but migth be available in j4sdk3.9
Be prepared when talking to the rulers, because they believe, they have little time.
Don't have 50 Arguments, but two or three - these should be solid, good and compact explained. Have popular, brief and easy to understand examples.
Good luck!


http://home.arcor.de/hirnstrom/bewerbung
Karl Nilsson
Greenhorn

Joined: Jan 06, 2004
Posts: 14
this is kinda funny, because my school has the 1.4 JDK, and at the same time a nonworking IDE (Borland JBuilder), because my school has a bad network with people running it who don't understand it! This makes us code the long way
oh, if your school has other outdated IDE's, than that may be a point of interest, especially because (i think) schools get free software
so if your school had VB6, you may convince them to move to VB.net etc...
[ February 19, 2004: Message edited by: Karl Nilsson ]

Why don't you just go into your home?<br />are you too good for your home, ball?!?
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

So use Eclipse - it has a special price too: zero.
Runs fine with j2sdk1.4.2
In School, you should of course compile with the commandline.
The Question of the IDE drops only slowly into my brain.
Is this IDE fixed to a special compiler???
I didn't see anything like this before!
All IDEs I've seen call an extern compiler, and mostly you can configure where to search for it, or specify multiple compilers for easy switching.
Take eclipse, take the freeware JCreator LE.
In former times (1992) BorlandC++ came with an IDE to develop with different compilers, library- and include-paths.
It sounds like the idea of how to make money with stupid tools.
Yes. Once I used a IDE for a proprietary Language, Gupta/Centura, which was not configurable that way. And even the Language was proprietary! Horrible!
[ February 19, 2004: Message edited by: Stefan Wagner ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can a jdk1.3prog run a class compiled in jdk1.4
 
Similar Threads
j2se API download link required
Will You Recommend a Good Site That Teache Java Web Development?
JOBS FOR Corporate IT trainers and Freelancers
How to strutcture a jsp app that uses mysql
hi(can i store data in files)