{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
2

How to upgrade my Apigee Edge OPDK from Java 6 to Java 7  

  • Export to PDF
Janice Hunt created · Feb 27, 2015 at 01:30 AM · 668 Views · edited · Feb 27, 2015 at 06:50 PM

When Apigee Edge OPDK is installed, you specify the location of java when you install with the apigee-install.sh script.

# ./apigee-install.sh
Found certified OS 
Please enter Oracle JDK 1.6 home (/usr/java/default): /usr/jdk1.6.0_35
java environment is OK (arch, vendor, version)
Java version verified.
...

The installer simply creates a symbolic link from /<ApigeeRoot>/apigee4/share/jdk to the location where you have installed java.

[root@standalone share]# ls -l
total 52
lrwxrwxrwx.  1 apigee apigee  23 Feb 23 23:34 apache-cassandra -> apache-cassandra-1.2.19
drwxr-xr-x.  9 apigee apigee 4096 Mar 24  2014 apache-cassandra-1.2.11
drwxr-xr-x.  9 apigee apigee 4096 Feb 23 23:34 apache-cassandra-1.2.19
lrwxrwxrwx.  1 apigee apigee  14 Feb 23 23:05 apacheds -> apacheds-1.5.7
drwxr-xr-x.  6 apigee apigee 4096 Feb 23 23:05 apacheds-1.5.7
lrwxrwxrwx.  1 apigee apigee  16 Feb 23 23:05 apache-qpid -> apache-qpid-0.14
drwxr-xr-x.  9 apigee apigee 4096 Feb 23 23:05 apache-qpid-0.14
lrwxrwxrwx.  1 apigee apigee  35 Feb 23 23:43 apigee -> apigee-1.0.0.655.a4b746c.1501081353
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:05 apigee-1.0.0.515.baf21a0.1408180018
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:43 apigee-1.0.0.655.a4b746c.1501081353
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:24 enterpriseUI-4.14.07.00-3dbcbc1-20140806_145046
drwxrwxr-x.  8 apigee apigee 4096 Feb 26 10:07 enterpriseui-4.15.01.00-76032c8-20150114-120655
drwxr-xr-x. 16 apigee apigee 4096 Feb 24 00:09 installer
drwxr-xr-x. 16 apigee apigee 4096 Feb 23 23:03 installer.bak-4.14.07.00
lrwxrwxrwx.  1 apigee apigee  16 Feb 23 23:03 jdk -> /usr/jdk1.6.0_35
lrwxrwxrwx.  1 apigee apigee  9 Feb 23 23:05 pgsql -> pgsql-9.3
...

To upgrade to Java 7 from Java 6, follow these steps:

1. stop your apigee processes on your nodes:

/<ApigeeRoot>/apigee4/bin/all-stop.sh

2. delete the symbolic link to the java 6 installation

cd /<ApigeeRoot>/apigee4/share

rm jdk

3. create a symbolic link to the java 7 install

ln -s /usr/jdk1.7.0_75 /opt/apigee4/share/jdk

Here is the expected output when running ls -l:

[root@standalone share]# ls -l
total 52
lrwxrwxrwx.  1 apigee apigee  23 Feb 23 23:34 apache-cassandra -> apache-cassandra-1.2.19
drwxr-xr-x.  9 apigee apigee 4096 Mar 24  2014 apache-cassandra-1.2.11
drwxr-xr-x.  9 apigee apigee 4096 Feb 23 23:34 apache-cassandra-1.2.19
lrwxrwxrwx.  1 apigee apigee  14 Feb 23 23:05 apacheds -> apacheds-1.5.7
drwxr-xr-x.  6 apigee apigee 4096 Feb 23 23:05 apacheds-1.5.7
lrwxrwxrwx.  1 apigee apigee  16 Feb 23 23:05 apache-qpid -> apache-qpid-0.14
drwxr-xr-x.  9 apigee apigee 4096 Feb 23 23:05 apache-qpid-0.14
lrwxrwxrwx.  1 apigee apigee  35 Feb 23 23:43 apigee -> apigee-1.0.0.655.a4b746c.1501081353
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:05 apigee-1.0.0.515.baf21a0.1408180018
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:43 apigee-1.0.0.655.a4b746c.1501081353
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:24 enterpriseUI-4.14.07.00-3dbcbc1-20140806_145046
drwxrwxr-x.  8 apigee apigee 4096 Feb 26 10:07 enterpriseui-4.15.01.00-76032c8-20150114-120655
drwxr-xr-x. 16 apigee apigee 4096 Feb 24 00:09 installer
drwxr-xr-x. 16 apigee apigee 4096 Feb 23 23:03 installer.bak-4.14.07.00
lrwxrwxrwx.  1 root  root  16 Feb 26 16:06 jdk -> /usr/jdk1.7.0_75
lrwxrwxrwx.  1 apigee apigee  9 Feb 23 23:05 pgsql -> pgsql-9.3
...

4. restart your apigee processes on your nodes

/<ApigeeRoot>/apigee4/bin/all-start.sh

<end>

thub.nodes.view.add-new-comment
Private Cloud
Add comment Show 1
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sgilson ♦♦ · Aug 03, 2015 at 05:56 PM 1
Link

I have added this procedure to the Edge Operations Guide.

Stephen

Article

Contributors

avatar image avatar image

Follow this article

1 Person is following this .

avatar image

Navigation

How to upgrade my Apigee Edge OPDK from Java 6 to Java 7

Related Articles

How to disable TRACE method from the router configuration level

4.16.01/4.16.05 Edge Private Cloud doc updates for June 30

How do I resize the Qpid queues in Apigee Edge OPDK 4.15.01

Private Cloud (OPDK) 16.x TLS cipher support on routers and MPs

Apigee Private Cloud patch 4.15.0.04.03 requires java 7 for UI component

Apigee Private Cloud - Ansible build automation repositories

Apigee Edge OPDK file descriptors recommendations for a RMP node

4.16.01/4.16.05 Edge Private Cloud doc updates for July 15

Creating an RBAC role on OPDK using API

Apigee Edge Private Cloud OpenLDAP error: bdb_equality_candidates: (o) not indexed

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges