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

Problem with Java on 12.3

36 views
Skip to first unread message

Cecil Westerhof

unread,
May 10, 2013, 6:56:56 AM5/10/13
to
On a system where I installed openSUSE 12.3 GNU gcj is installed
instead of openJDK-devel. Why the change?

More problematic is that it does not work. When I try to compile a
'Hello world' example, I get:
/usr/lib/gcc/i586-suse-linux/4.7/../../../crt1.o: In function `_start':
/home/abuild/rpmbuild/BUILD/glibc-2.15/csu/../sysdeps/i386/elf/start.S:115:
undefined reference to `main'
collect2: error: ld returned 1 exit status

When I uninstall gcj and install openJDK-devel there is no problem.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Message has been deleted

Jeff Bennett

unread,
May 12, 2013, 4:13:18 PM5/12/13
to
houghi wrote:

>> When I uninstall gcj and install openJDK-devel there is no problem.
>
> Good. Problem solved.

How is that compared to Oracle/Sun Java?
Message has been deleted

Jeff Bennett

unread,
May 12, 2013, 7:02:23 PM5/12/13
to
houghi wrote:
> How is what compared? I am sorry, but English is not my first language,
> so that might be the cause of me not understanding what you are talking
> about.
>
> I even went back to the original posting to see if I failed some
> question that I missed, but nothing there that would explain it.

Compared to gcj and openJDK, what else.

But you might be braindead stupid in English and still would not
understand. Move your head up and down if yes.

Gunter Herrmann

unread,
Jun 3, 2013, 5:08:23 PM6/3/13
to
Hi!

Jeff Bennett wrote:
> How is that compared to Oracle/Sun Java?

Not ready for prime time.
Get the rpm from java.oracle.com.

Side note: Even Oracle Linux (Red Hat clone) comes with Iced Tea.
To run an Oracle application server there you have to replace it with
Oracle/Sun Java or JRockit. Maybe IBM will work as well.

Gunter
0 new messages