8 Replies - 5764 Views - Last Post: 06 October 2009 - 10:17 PM Rate Topic: -----

#1 soon2bexpert  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 23-February 09

j2sdk1.4.2_02

Post icon  Posted 23 February 2009 - 07:05 AM

My sister deleted the j2sdk4.1.2_04 that i saved. Google cant give me a link to where i can download this compiler. Hope you can give me one. BTW i also need help in creating a code that will output a triangle using an asterisk. Thank you.
Is This A Good Question/Topic? 0
  • +

Replies To: j2sdk1.4.2_02

#2 ayman_mastermind  Icon User is offline

  • human.setType("geek");
  • member icon

Reputation: 126
  • View blog
  • Posts: 1,860
  • Joined: 12-December 08

Re: j2sdk1.4.2_02

Posted 23 February 2009 - 08:23 AM

Quote

My sister deleted the j2sdk4.1.2_04 that i saved. Google cant give me a link to where i can download this compiler. Hope you can give me one. BTW i also need help in creating a code that will output a triangle using an asterisk. Thank you.

How did you get you j2sdk4.1.2_04 in the first place? Check out http://java.sun.com/...loads/index.jsp In addition, to help you with your homework we need you to give us more details and show us some effort that you have put to solve the problem and your code, please remember to add your code in code tags :code: thanks...

This post has been edited by ayman_mastermind: 23 February 2009 - 08:24 AM

Was This Post Helpful? 0
  • +
  • -

#3 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: j2sdk1.4.2_02

Posted 23 February 2009 - 08:27 AM

You can still find the 1.4 JDK at Sun it also comes with many app-servers etc. Its out there. But note that 1.4 has reached its end of life as far as sun is concerned. While I realize there are still many lagitamate reasons to need 1.4, you should try to use 1.5 or above if possible.

Not that you can use the 1.5 JDK to compile for 1.4 comparability (so long as you don't use any 1.5 features).

finding the _04 version of the jdk might be a little hard...

This post has been edited by NickDMax: 23 February 2009 - 08:28 AM

Was This Post Helpful? 0
  • +
  • -

#4 soon2bexpert  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 23-February 09

Re: j2sdk1.4.2_02

Posted 25 February 2009 - 03:33 AM

i have created a code already but this will output like this
*
**
***
****
*****

 int row
int counter
}
for (row = 0; row<=5; row++)
  for (counter= 0; counter==row; counter++_
  {  
  System.out.print (" X" )
  }
}


i dont know how to come up with this output. like a triangle not just half of a triangle. I dont know if i needed to add another variable or what. Please help me. Thank you

*
* *
* * *
* * * *
* * * * *

Sorry i am just new.. I forgot to put my code..


i got the j2sdk1.4.2_02 from our school.. But I got a virus :P My sister fromatted the pc without me knowing that's why i lost it. I dont like to copy the compiler again and save it to my pc because its cleaned already. Thank you

This post has been edited by soon2bexpert: 25 February 2009 - 03:38 AM

Was This Post Helpful? 0
  • +
  • -

#5 soon2bexpert  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 23-February 09

Re: j2sdk1.4.2_02

Posted 25 February 2009 - 04:51 AM

View PostNickDMax, on 23 Feb, 2009 - 07:27 AM, said:

You can still find the 1.4 JDK at Sun it also comes with many app-servers etc. Its out there. But note that 1.4 has reached its end of life as far as sun is concerned. While I realize there are still many lagitamate reasons to need 1.4, you should try to use 1.5 or above if possible.

Not that you can use the 1.5 JDK to compile for 1.4 comparability (so long as you don't use any 1.5 features).

finding the _04 version of the jdk might be a little hard...


In our school we are still using 1.4. So you mean i can create a code in 1.4 and i can run it in 1.5 when i am at home? what about when i do my homework and i have 1.5, can i run it in 1.4 in school? Thank you!
Was This Post Helpful? 0
  • +
  • -

#6 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: j2sdk1.4.2_02

Posted 25 February 2009 - 05:20 AM

Quote

So you mean i can create a code in 1.4 and i can run it in 1.5 when i am at home? what about when i do my homework and i have 1.5, can i run it in 1.4 in school? Thank you!

Yes, because execution of Java programs is handled by the Java Runtime Environment (JRE).
If you aren't using any libraries specific to 1.5, an older JRE can run the program.
Was This Post Helpful? 0
  • +
  • -

#7 soon2bexpert  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 23-February 09

Re: j2sdk1.4.2_02

Posted 25 February 2009 - 06:13 AM

View Postborn2c0de, on 25 Feb, 2009 - 04:20 AM, said:

Quote

So you mean i can create a code in 1.4 and i can run it in 1.5 when i am at home? what about when i do my homework and i have 1.5, can i run it in 1.4 in school? Thank you!

Yes, because execution of Java programs is handled by the Java Runtime Environment (JRE).
If you aren't using any libraries specific to 1.5, an older JRE can run the program.



okey. thank you! BTW, what about with my code? i need it tomorrow and until now i cant think of what to do.. check my code at the top but that will only output like half of a triangle. What about i wanted to have the full triangle of stars? Thank you.. Please help me..
Was This Post Helpful? 0
  • +
  • -

#8 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: j2sdk1.4.2_02

Posted 25 February 2009 - 07:45 AM

Read this tutorial on creating triangular character patterns.

Although the code provided is in VB6 and VB.NET, you should be able to understand the logic behind the programs and rewrite them in Java.
Was This Post Helpful? 0
  • +
  • -

#9 rs24  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 04-September 09

Re: j2sdk1.4.2_02

Posted 06 October 2009 - 10:17 PM

View Postsoon2bexpert, on 25 Feb, 2009 - 02:33 AM, said:

i have created a code already but this will output like this
*
**
***
****
*****

 int row
int counter
}
for (row = 0; row<=5; row++)
  for (counter= 0; counter==row; counter++_
  {  
  System.out.print (" X" )
  }
}


i dont know how to come up with this output. like a triangle not just half of a triangle. I dont know if i needed to add another variable or what. Please help me. Thank you

*
* *
* * *
* * * *
* * * * *

Sorry i am just new.. I forgot to put my code..


i got the j2sdk1.4.2_02 from our school.. But I got a virus :P My sister fromatted the pc without me knowing that's why i lost it. I dont like to copy the compiler again and save it to my pc because its cleaned already. Thank you



Hi! Can somebody post an example of simple games in java 1.4.2? Thank you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1