Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Oracle Developer Studio 12.5 is available

685 views
Skip to first unread message

robert....@oracle.com

unread,
Jul 1, 2016, 6:59:46 AM7/1/16
to
Oracle has released a new version of its software
development suite. The name of the new release
is Oracle Developer Studio 12.5. The software is
available for SPARC on Solaris and for AMD/Intel
on Solaris and Linux. The suite includes
compilers for C, C++, and Fortran. A URL for the
download page for the new release is

http://www.oracle.com/goto/developerstudio

Oracle does not charge for downloading or using
Oracle Developer Studio 12.5. The software may be
used to develop commercial software products.
Oracle does charge for support.

The Fortran component of Oracle Developer Studio 12.5
is not significantly different from the Fortran
component of Oracle Solaris Studio 12.4. The feature
set is largely the same. Several bugs have been fixed.

Robert Corbett

Arjen Markus

unread,
Jul 1, 2016, 8:38:05 AM7/1/16
to
Op vrijdag 1 juli 2016 12:59:46 UTC+2 schreef robert....@oracle.com:
I have tried to install it, but failed sofar. After installing an Oracle JDK, I got the remark from the install script that it could not find the JRE - despite my having used the --javahome option to point to the fresh Java installation directory.

What am I doing wrong? Something trivial, probably, but I simply can't get beyond this step.

Regards,

Arjen

Stansfield Temmelmeier

unread,
Jul 1, 2016, 11:18:27 AM7/1/16
to
On 2016-07-01, Arjen Markus <arjen.m...@gmail.com> wrote:
> Op vrijdag 1 juli 2016 12:59:46 UTC+2 schreef robert....@oracle.com:
> I have tried to install it, but failed sofar. After installing an Oracle
> JDK, I got the remark from the install script that it could not find the JRE
> - despite my having used the --javahome option to point to the fresh Java
> installation directory.

I had the same error with 12.4. I can't remember if I fixed it or gave up. I
can't check my systems until sometime next week I am away now.

Try to place Java home dir in your PATH before running installer:

export PATH=/path/to/jre:$PATH

> What am I doing wrong? Something trivial, probably, but I simply can't get
>beyond this step.

Seems versions of Java listed as approved for Studio are not correct. Also
there is some problem, Java supported versions for Studio are taken off
Oracle Downloads because of CVE security issue and you can't get approved
version!

Post error message output and maybe somebody can understand better.

Stan

Ian Chivers

unread,
Jul 1, 2016, 2:40:44 PM7/1/16
to
Could you provide more details of what you did
and your system set up? I've got 12.5
sunstudio working.

cheers

Ian

Ian Chivers

unread,
Jul 2, 2016, 6:58:31 AM7/2/16
to
Hi Arjen here is a setup that works on one of my systems.
Apologies for the formatting

This is the directory where I have my java components.

ian@linux-bano:~> ls -la /usr/local
total 56
drwxr-xr-x 14 root root 4096 Apr 15 14:31 .
drwxr-xr-x 13 root root 4096 Nov 6 2013 ..
drwxr-xr-x 2 root root 4096 Apr 19 11:29 bin
drwxr-xr-x 2 root root 4096 Sep 27 2013 games
drwxr-xr-x 8 root root 4096 Apr 14 17:11 glassfish-4.1.1
drwxr-xr-x 2 root root 4096 Sep 27 2013 include

drwxr-xr-x 8 root root 4096 Apr 15 14:32 jdk1.8.0_77 << #####

drwxr-xr-x 3 root root 4096 Apr 19 11:29 lib
drwxr-xr-x 2 root root 4096 Sep 27 2013 lib64
drwxr-xr-x 12 root root 4096 Apr 14 16:47 man

drwxr-xr-x 23 root root 4096 Apr 15 14:23 netbeans-8.1 << #####

drwxr-xr-x 2 root root 4096 Sep 27 2013 sbin
drwxr-xr-x 3 root root 4096 Apr 15 14:01 share
drwxr-xr-x 2 root root 4096 Sep 27 2013 src

here are the soft links I have in my bin directory.

ian@linux-bano:~> ls -la bin
total 8
drwxr-xr-x 2 ian users 4096 Jul 2 11:28 .
drwxr-xr-x 32 ian users 4096 Jul 2 11:32 ..
lrwxrwxrwx 1 ian users 36 Jul 2 11:28 c89 ->
/opt/oracle/solarisstudiodev/bin/c89
lrwxrwxrwx 1 ian users 36 Jul 2 11:28 c99 ->
/opt/oracle/solarisstudiodev/bin/c99
lrwxrwxrwx 1 ian users 35 Jul 2 11:28 cc ->
/opt/oracle/solarisstudiodev/bin/cc
lrwxrwxrwx 1 ian users 36 Jul 2 11:28 f77 ->
/opt/oracle/solarisstudiodev/bin/f77
lrwxrwxrwx 1 ian users 36 Jul 2 11:28 f90 ->
/opt/oracle/solarisstudiodev/bin/f90
lrwxrwxrwx 1 ian users 36 Jul 2 11:28 f95 ->
/opt/oracle/solarisstudiodev/bin/f95
lrwxrwxrwx 1 ian users 36 Jul 2 11:28 netbeans ->
/usr/local/netbeans-8.1/bin/netbeans
lrwxrwxrwx 1 ian users 36 Jun 1 18:38 pathcc ->
/home/ian/ekopath-6.0.813/bin/pathcc
lrwxrwxrwx 1 ian users 36 Jun 1 18:38 pathCC ->
/home/ian/ekopath-6.0.813/bin/pathCC
lrwxrwxrwx 1 ian users 37 Jun 1 18:38 pathf90 ->
/home/ian/ekopath-6.0.813/bin/pathf90
lrwxrwxrwx 1 ian users 37 Jun 1 18:38 pathf95 ->
/home/ian/ekopath-6.0.813/bin/pathf95
lrwxrwxrwx 1 ian users 42 Jul 2 11:28 solstudio ->
/opt/oracle/solarisstudiodev/bin/solstudio
lrwxrwxrwx 1 ian users 38 Jul 2 11:28 sunCC ->
/opt/oracle/solarisstudiodev/bin/sunCC
lrwxrwxrwx 1 ian users 42 Jul 1 18:04 sunstudio ->
/opt/oracle/solarisstudiodev/bin/sunstudio

Here I verify that I can compile and run a fortran program

ian@linux-bano:~> ls
a.out Desktop Documents ekopath-6.0.813 Music
pathscale.txt Public SolStudioProjects Templates Videos
bin document Downloads intel_setup.txt path_errors.txt Pictures
public_html sun_setup.txt test.f90

ian@linux-bano:~> cat test.f90

program test
implicit none
print *,' Hello world'
end program test

ian@linux-bano:~> f90 test.f90
ian@linux-bano:~> ./a.out
Hello world

ian@linux-bano:~>

Here is my sunstudio command line

ian@linux-bano:~> sunstudio --jdkhome /usr/local/jdk1.8.0_77/ & [1] 4629

Arjen Markus

unread,
Jul 3, 2016, 2:05:07 PM7/3/16
to
Well, I got it to work by using the tarfile instead of the RPM package. (I use an Ubuntu Linux system under VMWare.) It still comes up with the warning about Open Java, but at least the GUI starts and I can build and debug a simple project.

Regards,

Arjen



Stansfield Temmelmeier

unread,
Jul 3, 2016, 5:55:02 PM7/3/16
to
I always use the tarball on Linux. But I always use the packages on
Solaris. Glad you have it fixed!

Stan

Arjen Markus

unread,
Jul 4, 2016, 8:07:11 AM7/4/16
to
Op zondag 3 juli 2016 23:55:02 UTC+2 schreef Stansfield Temmelmeier:
> I always use the tarball on Linux. But I always use the packages on
> Solaris. Glad you have it fixed!
>
> Stan
>

Me too, the RPM stuff was rather confusing - while I know in principle what is going on, it did not quite do the job had expected it to do. The user-interface is somewhat slow, but that must be a consequence of the virtual machine set-up.

Now for some more serious experimenting :).

Regards,

Arjen

vladim...@gmail.com

unread,
Jul 4, 2016, 11:16:02 AM7/4/16
to
Thank you, I was using the previous (already Sun) versions in the past, for my masters thesis 10 years ago and then for my PhD.

Unfortunately, my demands for the compiler capabilities went forward faster than the Oracle compiler development. I am now mainly using gfortran and Intel Fortran. Still I consider the Performance Analyzer to be the best profiler I have ever used and I still sometimes use it with the other compilers. Also the threading error analysis was great, but the compiler cannot compile my current production code...

Stansfield Temmelmeier

unread,
Jul 4, 2016, 1:15:11 PM7/4/16
to
Hi,

It seems much easier and cleaner to simply untar in /opt

Stan

On 2016-07-02, Ian Chivers <i...@rhymneyconsulting.co.uk> wrote:

> ian@linux-bano:~> sunstudio --jdkhome /usr/local/jdk1.8.0_77/ & [1] 4629
>

BTW I PATH to my JDK and I don't need to set jdkhome for Studio IDE.

gene...@gmail.com

unread,
Jul 6, 2016, 9:54:32 AM7/6/16
to
Hi Arjen,

could you please send me command line option you've used to install studio?
Also --verbose option to the developerstudio.sh should give exaustive information to figure out the problem.

Please make sure that that version of Oracle Java is at least 1.7.0u80.

-Evgeni.

пятница, 1 июля 2016 г., 15:38:05 UTC+3 пользователь Arjen Markus написал:

Arjen Markus

unread,
Jul 6, 2016, 10:24:51 AM7/6/16
to
Op woensdag 6 juli 2016 15:54:32 UTC+2 schreef gene...@gmail.com:
Hi Evgeni,

the command was pretty simple:

./developerstudio.sh

no options.

I will try this again using the --verbose option. As for Java, I downloaded jdk8u91, so my guess is that that is sufficiently recent.

Regards,

Arjen

Arjen Markus

unread,
Jul 6, 2016, 11:22:03 AM7/6/16
to
Op woensdag 6 juli 2016 16:24:51 UTC+2 schreef Arjen Markus:
Evgeni, the output from "./developerstudio.sh --verbose" is on its way. The odd thing is it is looking at the right directory without any help from me - I did not extend the PATH for instance. It just does not accept it.

Regards,

Arjen

Stansfield Temmelmeier

unread,
Jul 6, 2016, 1:47:54 PM7/6/16
to
On 2016-07-06, Arjen Markus <arjen.m...@gmail.com> wrote:
> I will try this again using the --verbose option. As for Java, I
> downloaded jdk8u91, so my guess is that that is sufficiently recent.

This might be the problem. It seems I remember jdk8 doesn't work with
Studio.

Stan

Stansfield Temmelmeier

unread,
Jul 6, 2016, 1:48:44 PM7/6/16
to
Maybe more correct to say Studio doesn't work with jdk8.

Stan

Arjen Markus

unread,
Jul 7, 2016, 6:02:59 AM7/7/16
to
Op woensdag 6 juli 2016 19:48:44 UTC+2 schreef Stansfield Temmelmeier:
> Maybe more correct to say Studio doesn't work with jdk8.
>
> Stan
>
> On 2016-07-06, Stansfield Temmelmeier ... wrote:
> > On 2016-07-06, Arjen Markus ... wrote:
> >> I will try this again using the --verbose option. As for Java, I
> >> downloaded jdk8u91, so my guess is that that is sufficiently recent.
> >
> > This might be the problem. It seems I remember jdk8 doesn't work with
> > Studio.
> >
> > Stan

Oh, it is almost the latest that is advocated on the Oracle website. (8u92 is the really latest.) It seemed logical to pick that one.

Regards,

Arjen

Stansfield Temmelmeier

unread,
Jul 7, 2016, 9:09:12 AM7/7/16
to
Yes it's really embarassing issue. I think 12.4 didn't work with jdk8 either.
My only solution was to use jdk7 but it wasn't available so I had to find
some old package to reinstall.

Stan

gene...@gmail.com

unread,
Jul 8, 2016, 8:12:41 AM7/8/16
to

Thank you for the log. Here what I have found:

[2016-07-06 17:15:22]> /usr/java/jdk1.8.0_91/bin/java -classpath /tmp/.nbi-3071519.tmp TestJDK
[2016-07-06 17:15:23]> Java :
[2016-07-06 17:15:23]> executable = {/usr/java/jdk1.8.0_91/bin/java}
[2016-07-06 17:15:23]> javaVersion = {Error occurred during initialization of VM}
[2016-07-06 17:15:23]> javaVmVersion = {java/lang/NoClassDefFoundError: java/lang/Object}

There is a problem with java installation. The possible reasons are:

- broken installation of java (not all files installed)
- java files not accessible (sccess rights issue)

I've succesfully installed Developer Studio with the jdk8u73

# uname -a
Linux localhost.localdomain 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 03:54:13 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
# /usr/java/jdk1.8.0_73/bin/java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

please note that you have to use 64 bit java on 64 bit system. What is output of 'uname -a' and '/usr/java/jdk1.8.0_91/bin/java -version' on your system?

-Evgeni



среда, 6 июля 2016 г., 18:22:03 UTC+3 пользователь Arjen Markus написал:

Arjen Markus

unread,
Aug 12, 2016, 5:57:10 AM8/12/16
to
Well, I downloaded Java version 8u101 and installed it and now the GUI works properly. So that gave me the opportunity to do some simple tests:
- I created a small project with two source files, one containing a module.
- When I build it, the generated makefile takes no care at all of the module and the dependencies related to it, i.e. the source files are compiled in an order that is simply wrong. For this small project, that is no problem, but in more complex situations it is a major stumbling block.
- I have not seen a possibility to distribute the source files over subprojects, so that I would have to use separate projects for libraries and would have to manually make sure that the libraries as used in the program are up-to-date. Or can you define dependencies between projects?

Well, just a few observations from a novice user ;).

Regards,

Arjen

robert....@oracle.com

unread,
Aug 13, 2016, 12:42:25 AM8/13/16
to
On Friday, August 12, 2016 at 2:57:10 AM UTC-7, Arjen Markus wrote:
> Well, I downloaded Java version 8u101 and installed it and now the GUI works properly. So that gave me the opportunity to do some simple tests:
> - I created a small project with two source files, one containing a module.
> - When I build it, the generated makefile takes no care at all of the module and the dependencies related to it, i.e. the source files are compiled in an order that is simply wrong. For this small project, that is no problem, but in more complex situations it is a major stumbling block.

How are you generating the makefile? Are you using the one produced by the IDE?

Robert Corbett

Arjen Markus

unread,
Aug 13, 2016, 11:21:42 AM8/13/16
to
Op zaterdag 13 augustus 2016 06:42:25 UTC+2 schreef robert....@oracle.com:
Yes, I am (well, it is a collection actually - one for each configuration)

Regards,

Arjen

robert....@oracle.com

unread,
Aug 15, 2016, 10:32:47 PM8/15/16
to
On Saturday, August 13, 2016 at 8:21:42 AM UTC-7, Arjen Markus wrote:
> > > - When I build it, the generated makefile takes no care at all of the module and the dependencies related to it, i.e. the source files are compiled in an order that is simply wrong. For this small project, that is no problem, but in more complex situations it is a major stumbling block.
> >
> > How are you generating the makefile? Are you using the one produced by the IDE?
> >
> > Robert Corbett
>
> Yes, I am (well, it is a collection actually - one for each configuration)

The people who work on the IDE are not Fortran experts.
They treat Fortran essentially the same as they treat
C and C++. Because C and C++ have nothing like Fortran
modules, the IDE does not take Fortran modules into
account.

The people who work on the Fortran compiler know
Fortran better than the people who work on the IDE.
The Fortran compiler contains an option -xM for
generating dependency information. The option
assumes a specific model for the dependencies.
The model is not to everyone's taste, so you might
or might not like the dependencies produced by
the compiler, but the compiler does account for
modules.

Robert Corbett

Arjen Markus

unread,
Aug 16, 2016, 2:44:49 AM8/16/16
to
Op dinsdag 16 augustus 2016 04:32:47 UTC+2 schreef robert....@oracle.com:
I understand, but C and C++ do have dependencies via the .h files. Are they handled properly? I have not tried that yet.

How can I incorporate these dependencies into the project?

(One of the attractions of the IDE is the graphical interface to the debugger)

Regards,

Arjen

robert....@oracle.com

unread,
Aug 16, 2016, 10:50:14 PM8/16/16
to
Included files should be handled correctly if they are included
via preprocessor directives. The IDE probably does not
understand Fortran INCLUDE statements.

> How can I incorporate these dependencies into the project?

you might edit the makefile directly to append the dependencies
generated by the compiler.

Bob Corbett

Arjen Markus

unread,
Aug 17, 2016, 2:39:09 AM8/17/16
to
Op woensdag 17 augustus 2016 04:50:14 UTC+2 schreef robert....@oracle.com:
Okay, that is definitely worth a try. Thanks sofar.

Regards,

Arjen

Trường Đặng

unread,
Jun 14, 2018, 11:41:20 PM6/14/18
to
I have tried a small projects with 3 source files. It seems like the IDE builds code according to the alphabetical order of source files 's names. So I use my makefile (with GNU toolchain). It works, especially the debugger is somewhat better than the debugger of Code::Blocks (they are front end of the same back end gdb).

Sergey Budaev

unread,
Jun 15, 2018, 3:57:25 AM6/15/18
to
I have tried several previous versions of Oracle (Sun) Fortran. It seemd to be a solid product. But there is an increasing lagging with respect to the support of newer Fortran standards. Frankly, it is quite poor now. I cannot compile my codes making use of F2003 in Oracle's f95. Also I experienced strange performance problems: some things (don't remember now) were very slow in f95 (although some other were very fast). And given the situation with Solaris OS and especially many other former Sun products "tangential" to Oracle, I expect it won't improve. Looks like it is nearly dead.

Regards,

Sergey
--
Sergey Budaev <sbu...@gmail.com>
0 new messages