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

**URL:** <https://discuss.google.dev/t/how-to-upgrade-my-apigee-edge-opdk-from-java-6-to-java-7/17897>\
**Category:** Knowledge Hub\
**Tags:** apigee\
**Created:** [February 27, 2015, 1:30am UTC](https://discuss.google.dev/t/how-to-upgrade-my-apigee-edge-opdk-from-java-6-to-java-7/17897 "2015-02-27T01:30:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jghunt](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/jghunt/32/141331_2.png) [@jghunt](https://discuss.google.dev/u/jghunt)\
**Post date:** [February 27, 2015, 1:30am UTC](https://discuss.google.dev/t/how-to-upgrade-my-apigee-edge-opdk-from-java-6-to-java-7/17897/1 "2015-02-27T01:30:33Z")

</div>

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

```auto
# ./apigee-install.sh

```

```auto
Found certified OS 

```

```auto
Please enter Oracle JDK 1.6 home (/usr/java/default): /usr/jdk1.6.0_35

```

```auto
java environment is OK (arch, vendor, version)

```

```auto
Java version verified.

```

```auto
...

```

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

```auto
[root@standalone share]# ls -l

```

```auto
total 52

```

```auto
lrwxrwxrwx. 1 apigee apigee 23 Feb 23 23:34 apache-cassandra -> apache-cassandra-1.2.19

```

```auto
drwxr-xr-x. 9 apigee apigee 4096 Mar 24 2014 apache-cassandra-1.2.11

```

```auto
drwxr-xr-x. 9 apigee apigee 4096 Feb 23 23:34 apache-cassandra-1.2.19

```

```auto
lrwxrwxrwx. 1 apigee apigee 14 Feb 23 23:05 apacheds -> apacheds-1.5.7

```

```auto
drwxr-xr-x. 6 apigee apigee 4096 Feb 23 23:05 apacheds-1.5.7

```

```auto
lrwxrwxrwx. 1 apigee apigee 16 Feb 23 23:05 apache-qpid -> apache-qpid-0.14

```

```auto
drwxr-xr-x. 9 apigee apigee 4096 Feb 23 23:05 apache-qpid-0.14

```

```auto
lrwxrwxrwx. 1 apigee apigee 35 Feb 23 23:43 apigee -> apigee-1.0.0.655.a4b746c.1501081353

```

```auto
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:05 apigee-1.0.0.515.baf21a0.1408180018

```

```auto
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:43 apigee-1.0.0.655.a4b746c.1501081353

```

```auto
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:24 enterpriseUI-4.14.07.00-3dbcbc1-20140806_145046

```

```auto
drwxrwxr-x. 8 apigee apigee 4096 Feb 26 10:07 enterpriseui-4.15.01.00-76032c8-20150114-120655

```

```auto
drwxr-xr-x. 16 apigee apigee 4096 Feb 24 00:09 installer

```

```auto
drwxr-xr-x. 16 apigee apigee 4096 Feb 23 23:03 installer.bak-4.14.07.00

```

```auto
lrwxrwxrwx. 1 apigee apigee 16 Feb 23 23:03 jdk -> /usr/jdk1.6.0_35

```

```auto
lrwxrwxrwx. 1 apigee apigee 9 Feb 23 23:05 pgsql -> pgsql-9.3

```

```auto
...

```

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

1. stop your apigee processes on your nodes:

//apigee4/bin/all-stop.sh

1. delete the symbolic link to the java 6 installation

cd //apigee4/share

rm jdk

1. 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:

```auto
[root@standalone share]# ls -l

```

```auto
total 52

```

```auto
lrwxrwxrwx. 1 apigee apigee 23 Feb 23 23:34 apache-cassandra -> apache-cassandra-1.2.19

```

```auto
drwxr-xr-x. 9 apigee apigee 4096 Mar 24 2014 apache-cassandra-1.2.11

```

```auto
drwxr-xr-x. 9 apigee apigee 4096 Feb 23 23:34 apache-cassandra-1.2.19

```

```auto
lrwxrwxrwx. 1 apigee apigee 14 Feb 23 23:05 apacheds -> apacheds-1.5.7

```

```auto
drwxr-xr-x. 6 apigee apigee 4096 Feb 23 23:05 apacheds-1.5.7

```

```auto
lrwxrwxrwx. 1 apigee apigee 16 Feb 23 23:05 apache-qpid -> apache-qpid-0.14

```

```auto
drwxr-xr-x. 9 apigee apigee 4096 Feb 23 23:05 apache-qpid-0.14

```

```auto
lrwxrwxrwx. 1 apigee apigee 35 Feb 23 23:43 apigee -> apigee-1.0.0.655.a4b746c.1501081353

```

```auto
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:05 apigee-1.0.0.515.baf21a0.1408180018

```

```auto
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:43 apigee-1.0.0.655.a4b746c.1501081353

```

```auto
drwxr-xr-x. 11 apigee apigee 4096 Feb 23 23:24 enterpriseUI-4.14.07.00-3dbcbc1-20140806_145046

```

```auto
drwxrwxr-x. 8 apigee apigee 4096 Feb 26 10:07 enterpriseui-4.15.01.00-76032c8-20150114-120655

```

```auto
drwxr-xr-x. 16 apigee apigee 4096 Feb 24 00:09 installer

```

```auto
drwxr-xr-x. 16 apigee apigee 4096 Feb 23 23:03 installer.bak-4.14.07.00

```

```auto
lrwxrwxrwx. 1 root root 16 Feb 26 16:06 jdk -> /usr/jdk1.7.0_75

```

```auto
lrwxrwxrwx. 1 apigee apigee 9 Feb 23 23:05 pgsql -> pgsql-9.3

```

```auto
...

```

1. restart your apigee processes on your nodes

//apigee4/bin/all-start.sh

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [August 3, 2015, 5:56pm UTC](https://discuss.google.dev/t/how-to-upgrade-my-apigee-edge-opdk-from-java-6-to-java-7/17897/2 "2015-08-03T17:56:28Z")

</div>

I have added this procedure to the Edge Operations Guide.

Stephen
