Porting OpenNMS to FreeBSD 10.x with OpenJDK7

Achilleas Mantzios achill at matrix.gatewaynet.com
Fri Dec 5 13:59:35 UTC 2014


On 04/12/2014 18:52, Paul Pathiakis via freebsd-java wrote:
> *Feverishly tries to erase e-mail, other people's e-mails on the list and archives.... doesn't work*
>
> Nothing to see here... Nope... Nothing....  I didn't do something so boneheaded....
>
> *whistles and walks away embarrassed* ;-)
>
> I am not a java person. :-)  Obviously.

In which case there are plenty of sites specialized in java exclusively, maybe you could
get yourself some java knowledge first from there or by some books, and after you are skilful enough with Java, then you might attempt to jump into the FreeBSD deep waters.
Doing it all at once seems like a recipe for failure.

>
> Anyhow, I did get things to start compiling and have run into a problem with part of the software that assembles it for install.
>
> Working with the OpenNMS group now to see how to get NSIS installed.  It seems that the older version (2.46) doesn't build on FreeBSD.  I had to go with the 3.0b.
>
> P.
> On 12/04/2014 04:15, Ronald Klop wrote:
>> It is 'java -version'.
>> The java version is choosen by something called javavmwrapper. This helps if you have multiple java versions installed. You can bypass this by going to the right directory immediately like 
>> '/usr/local/openjdk7/bin/java'.
>>
>> But first try -version with one dash.
>>
>> $ java --version
>> Unrecognized option: --version
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>>
>> $ java -version
>> openjdk version "1.7.0_71"
>> OpenJDK Runtime Environment (build 1.7.0_71-b14)
>> OpenJDK 64-Bit Server VM (build 24.71-b01, mixed mode)
>>
>> Regards,
>>
>> Ronald.
>>
>> On Wed, 03 Dec 2014 17:35:32 +0100, Paul Pathiakis via freebsd-java <freebsd-java at freebsd.org> wrote:
>>
>>> Hi all,
>>>
>>> I am trying to get anything to work with regards to OpenNMS and any version of Java 1.7.
>>>
>>> My latest attempt was to try and get it running with the linux-sun-jdk17 port.
>>> It tells me that it can't find a usable JVM.
>>>
>>> java --version
>>> java: error: no suitable JavaVMs found
>>>
>>> I'm running this in a jail, but I don't think that should have any issue.
>>>
>>> Anyone have further ideas?
>>>
>>> P.
>>>
>>> On 11/20/2014 19:34, Ed Maste wrote:
>>>> On 20 November 2014 13:11, Paul Pathiakis
>>>> <ppathiakis at atlantisservices.net> wrote:
>>>>> Hi,
>>>>>
>>>>> I'm trying to create the port/pkg for the OpenNMS monitoring tool.
>>>>>
>>>>> The latest version came out, 1.14, and I have the latest package.
>>>>>
>>>>> However, there still seems to be a problem with it dumping core after a
>>>>> couple of hours.
>>>> Can you get a backtrace from the crash?
>>>> _______________________________________________
>>>> freebsd-java at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
>>>> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>>>
>>> _______________________________________________
>>> freebsd-java at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
>>> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"


-- 
Achilleas Mantzios
Head of IT DEV
IT DEPT
Dynacom Tankers Mgmt



More information about the freebsd-java mailing list