Thursday Dec 11, 2014

How do I install 2 versions of the same version of JDeveloper?

This has been covered before by other Oracle blogs, but for our mobile customers it’s worth restating.

From time to time the requirement comes up from our customers, how do I install 2 separate versions of JDeveloper? And sometimes more specifically how do I install two instances of the same version of JDeveloper?

Let’s address the first question.

How to install 2 *different* versions of JDeveloper?

If you want to install 2 separate versions of JDeveloper, say JDeveloper 11.1.1.7.0 and 12.1.3.0.0, this can be easily achieved at installation time. On installing each version of JDeveloper, when the installation wizard prompts you, specify a *different* installation directory for each.

What you should not do is install them in the same directory.

Important to the discussion coming up, it’s worth noting that each JDeveloper installation maintains its “System” directory, that is a directory containing it’s temporary files & configuration files, by default in separate locations. As such if you have JDev 11.1.1.7.0 and 12.1.3.0.0 installed separately, under Windows 7+ you will have the following directories:

C:\Users\<username>\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93
C:\Users\<username>\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008

And under a Mac these directories:

/Users/<username>/.jdeveloper/system11.1.1.7.40.64.93
/Users/<username>/.jdeveloper/system12.1.3.0.41.140521.1008

How to install 2 versions of the *same* version of JDeveloper?

Sometimes rather than using 2 different versions of JDeveloper, we want to install the same version twice, essentially 2 instances. A common reason for doing this is you maybe using JDeveloper with multiple extensions, and you want to maintain separate JDeveloper instances for each extension. For example you might want to support 2 different versions of the MAF extension which are currently both on JDeveloper 12.1.3.0.0.

To achieve this is a little more tricky because of the “System” directory we talked about in the previous section. While different versions of JDev have their own default System directory with a specific version number for that release, two instances of the same version of JDeveloper will clash as they will attempt to use the same versioned default System directory.

The following steps will show you how to install a JDeveloper instance such that it doesn’t use the default System directory, but one of your choosing, nicely avoiding the clash. We’ll assume you’re installing JDeveloper 12.1.3.0.0 twice.

1. Install JDeveloper 12.1.3.0.0 the usual way, but ensure the JDeveloper installation directory is unique for the installation. For example under Windows I might choose to install two instances of JDev 12.1.3.0.0 under:

C:\Oracle\Middleware\JDev121300Instance1
C:\Oracle\Middleware\JDev121300Instance2

And alternatively under a Mac:

/Users/<username>/Desktop/JDev121300Instance1
/Users/<username>/Desktop/JDev121300Instance2

You might want to use better names than Instance 1 & 2, but it will serve our purpose in describing the steps here.

2. When the installation process is complete, *dont* allow JDeveloper to start, just complete the installation process and allow it to close naturally.

3. Via your Windows Explorer or Mac Finder, create an alternative directory for where the JDev instance’s System directory will go.

e.g. For Windows:

C:\Users\<username>\AppData\Roaming\JDev121300Instance1
C:\Users\<username>\AppData\Roaming\JDev121300Instance2

e.g. For Mac:

/Users/<username>/.jdeveloper121300Instance1
/Users/<username>/.jdeveloper121300Instance2

4. In the JDeveloper home, locate /jdev/bin/jdev.boot and open it in your favourite text editor

5. Locate the ‘ide.user.dir.var’ property, and rename it to ‘ide.user.dir’ (yes, drop the dot var)

6. Change the value for ‘ide.user.dir’ to include the directory you created in the previous step, using backslashes for the directory path regardless if it’s for Windows or Mac.

e.g. For Windows

ide.user.dir= C:/Users/chris/AppData/Roaming/JDev121300Instance1

e.g. For Mac

ide.user.dir=/Users/chris/.jdeveloper121300Instance1

7. Save your changes and close the file

8. Start JDeveloper

That’s all that needs to be done. Once JDeveloper has started and opened to the default start page, it’s worthwhile checking in your new System directory for that JDeveloper instance, that you can see JDeveloper is using that directory and creating files. For JDeveloper 12.1.3.0.0 for example we would expect to see that under the directory you created, for example /Users/chris/.jdeveloper121300Instance1 on Mac, you can now see a subdirectory system12.1.3.0.41.140521.1008. If that directory exists, JDeveloper is correctly setup.

From here you are now in a position to install your 2nd JDeveloper instance following the same steps above.

Once done you are now free to download and maintain separate extensions for each JDeveloper instance. Just make sure you don’t get confused which JDeveloper you’re running!

One side effect of changing the ide.user.dir option in the jdev.boot file, is JDeveloper’s ‘mywork’ directory will now be defaulted to the new System directory you specified.

Sunday Dec 07, 2014

Rethink Mobile: Beyond Mobile First with Oracle

Get.Ready.

December 17, 2014 - Mark your calendars to get an update on Oracle's mobile strategy: Rethink Mobile: Beyond Mobile First with Oracle. We will be available to answer your questions via live chats. The Oracle guest lineup includes: Suhas Uliyar, Vice President, Mobile Strategy, Product Management, Laurent Pacalin, Group Vice President, Product Management, Jeanne Lowell, Vice President, E-Business Suite, and Rimi Bewtra, Sr. Director of Product Marketing.

And if you happen to be at Gartner AADI this week (Las Vegas!) stop by and say hello.  I'll give you a mobile tour at no extra charge and perhaps some free poker lessons. ;-) 

Here's a great trailer for the main event you do not want to miss.

Friday Nov 21, 2014

Oracle Mobile Partner Event, Europe 2015

As an Oracle partner do you have plans for Mobile enablement?  Do you want to find out the latest application development trends?  Do you want to get hands-on with Oracle's Mobile Application Framework?  The FMW Partner Community are hosting a 4 day event on the 3-6th March 2015 in Budapest.  This event will bring together Oracle Development with the brightest Oracle partners to discuss and learn, amongst other topics, Mobile, Cloud and UX.

Grant Ronald and Frank Nimphius will be representing the Mobility and Development Tools Product Management Team, and we will be running a 2 day hands-on session.

Friday Nov 14, 2014

Oracle leaps ahead of SAP and IBM in MADP

Oracle leaps ahead of SAP and IBM in MADP

Gigom Research ranks Oracle at the top of the MADP list of vendors

[Read More]

Tuesday Nov 04, 2014

Don't miss the ODTUG Mobile Day Conference

If you missed OOW but you still want to catch up about what's new and what's upcoming in the world of mobile from Oracle, we highly recommend that you'll attend the upcoming mobile day organized by ODTUG.

A few unique opportunities at the event

  • Mobile strategy keynote with Oracle's VP of mobile strategy
  • Technical session from product managers and Oracle ACEs
  • Topics that range from Oracle MAF, to Oracle APEX, REST services in the DB, Mobile in the BI world and mobile in the cloud
  • Practical architecture discussion and demo by Oracle's A-Team
  • Great networking opportunities

The event is free for ODTUG members - or for $99 get a year membership for ODTUG and entry to the conference.

Register today to secure your sit! See you at Reston on Dec 2nd.

Friday Oct 10, 2014

Partner training in Chicago this month!

If you are an Oracle partner, sign up today for special training on Oracle  Mobile Suite in Chicago, Oct 28 - 31.[Read More]
About

This blog is is dedicated to announcements,tips and tricks and other items related to developing, integrating, securing, and managing mobile applications using Oracle's Mobile Platform. It is created and maintained by the Oracle Mobile product development team.

Archive of past entries

Even More Mobile Development Blogs

Oracle A-Team Site - Mobile Related Entries

Code samples from the Community

Fusion Middleware Blogs

Search

Archives
« July 2016
SunMonTueWedThuFriSat
     
1
2
3
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
22
23
24
25
26
27
28
29
30
31
      
Today