DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th February 2021
niks007 niks007 is offline
Port Guard
 
Join Date: Oct 2020
Location: Germany and India
Posts: 24
Default java not working due to single root partition

Hi,

I have Openbsd VM which has single root partition so when I install java it gives following error message

openbsd# ./java
Error occurred during initialization of VM
Could not reserve enough space in CodeHeap 'non-nmethods' (2496K)


As per Openbsd partition requirement some packages require separate /usr/local with "wxallowed" flag so java also needs wxallowed flag for /usr/local ( have tested on one other system with separate /usr/local it works well)
but since my system is having single / partition how can I mount /usr/local separately with wxallowed so my java binary works well.
Reply With Quote
  #2   (View Single Post)  
Old 19th February 2021
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

You don't. You mount all of / with wxallowed. Add it to the options field in /etc/fstab.

That's why you don't use one partition like that. The partioning is part of the security.
Reply With Quote
Reply

Tags
java, mount, partitioning, wxallowed


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java/Jdk not working niks007 OpenBSD Packages and Ports 4 2nd November 2020 10:00 PM
resize root partition of my server Tzzzzzzzz OpenBSD Installation and Upgrading 15 2nd June 2014 10:23 PM
FreeBSD won't boot after mounting root partition on OpenBSD Jtf FreeBSD Installation and Upgrading 12 19th March 2014 04:43 AM
Java 1.6 plugin not working with Firefox 3 whetphish FreeBSD Ports and Packages 5 23rd February 2009 07:16 AM
Single instance of VLC player maxrussell General software and network 1 8th February 2009 03:57 PM


All times are GMT. The time now is 02:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick