Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
bundak salas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Karl Nilsson
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic