Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

upgrade jdk to 5.0 in WSAD 5.1

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The WSAD 5.1 contains jdk 1.3 and 1.4 but I want to upgrade them to jdk 1.5. How to do that?

Thanks,
 
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From your WASD menu:

--> Window --> Preferences --> Java --> Installed JREs --> <click on 'Add' button>

.... (you'd know what to do next)


Hope this helps.
 
Lei Liu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I did that but it is not helpful because we are not allowed to change the complier to 1.5 version. So java file with new feature (e.g., generics) still can't be complied.

The problem is how to change the complier and jvm to version 1.5.

Thanks,
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this:

right click a particular project -> select Java Build Path -> select Libraries tab -> remove the JRE_LIB with the jdk 1.5 rt.jar, then JDK1.5 compiler will be used

Hope it helps
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are using WSAD 5.0 and the application which we want to deploy has been developed in JDK1.5 using generics and various annotations of JDK 1.5. Please tell me the way to make WSAD 5.0 as JDK1.5 compliance.

the solution specified is not working, through the rt.jar you can refer to the APIs but it can not change the compiler of WSAD 5.0 from jdk 1.4 compiler to JDK 1.5 compiler. there sould be some other way to do that

If anybody has done it, please let me know the steps to do that.
 
author & internet detective
Posts: 41184
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by inderjeet kalra:
there sould be some other way to do that


There is no supported way to change WSAD 5 to use Java 5. WSAD is an old IDE and does not work with later versions of Java. How about upgrading to RSA 7 (beta) which does support Java 5 or even Eclipse standalone?

You can't deploy a Java 5 application to WebSphere 5 anyway (which is the version of the server that goes with WSAD 5.) So why are you required to use WSAD for your Java 5 apps?
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic