<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simon</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simon"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:Contributions/Simon"/>
		<updated>2026-04-17T22:34:59Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/User:Simon</id>
		<title>User:Simon</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User:Simon"/>
				<updated>2005-05-10T22:25:28Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simon, aka &amp;quot;relax&amp;quot;, is a new FreeBSD user, and a Windoze refugee currently living in Montreal, Quebec, Canada.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
&lt;br /&gt;
He's an expert on C, very competent in C++, competent with VBS script under softimage|XSI, XSI format, OBJ format, 3DS format, maya scripts and format, I have dabbled in openGL and has done extensive work in the field of graphic file format conversions and making script engines.&lt;br /&gt;
&lt;br /&gt;
I'm also good at writing small technical manuals for various types of users. I've written 2 introduction classes to applications and numerous walkthrus or intros for newbies. I can translate technical manuals to french.&lt;br /&gt;
&lt;br /&gt;
I've done some SQL databases, mostly in Access.&lt;br /&gt;
&lt;br /&gt;
I have a continuing interest in extreme programming, MFC, reverse-engineering, and game design.&lt;br /&gt;
&lt;br /&gt;
=== ...and lack thereof ===&lt;br /&gt;
&lt;br /&gt;
However, my Unix/BSD skills are in need of some help!&lt;br /&gt;
&lt;br /&gt;
For example, how do I duplicate the functionality of various IE's plugins (especially java) in Mozilla is still beyond me. And trying to do it securely too because Moon-sized java security holes are part of what made me quit Windows...&lt;br /&gt;
&lt;br /&gt;
=== Projects ===&lt;br /&gt;
&lt;br /&gt;
-Help do a windoze refugee survival kit for mozilla plugins and getting those WMV files to work more than half the time. Ideally that would be like typing &amp;quot;make install&amp;quot; and clicking &amp;quot;yes&amp;quot; at a license prompt that appears immediately (NOT after a few minutes) - then it would work immediately after the compile.&lt;br /&gt;
&lt;br /&gt;
-Get a job. Any kind of programming or technical translation job if pay is OK or if the project is more interesting than accounting (yawn). I like free projects too, in fact I've been debugging the tome port for a while.&lt;br /&gt;
&lt;br /&gt;
=== Current need for help ===&lt;br /&gt;
&lt;br /&gt;
I have FreeBsd 5.2 (who doesn't like java binaries older BSD were happy with) and linuxbase 7 (which doesn't like java on mozilla).&lt;br /&gt;
&lt;br /&gt;
I've been trying to install java in any shape or form in any browser, but had no success. It has been 3 weeks now, with no other goals in mind.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Portupgrade</id>
		<title>Portupgrade</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Portupgrade"/>
				<updated>2005-02-15T20:32:31Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: /usr/ports/UPDATING &amp;lt;--- read this first!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''portupgrade and you'''&lt;br /&gt;
&lt;br /&gt;
portupgrade is a small collection of tools that goes hand in hand with [[cvsup]]. Portupgrade does what it says - upgrades your ports - but it actually means your ''installed'' ports, even packages that were installed as part of the base system. Portupgrade includes two important programs - ''portupgrade'', and [[portversion]]. Between them and cvsup, you'll have the ability to keep all installed software on your system up to date, so long as it exists in the ports tree.&lt;br /&gt;
&lt;br /&gt;
See also - [[cvsup]] - [[Update_the_ports_tree]] - [[portversion]] - [[Searching ports]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing the Portupgrade suite ==&lt;br /&gt;
&lt;br /&gt;
Installation is very simple:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''cd /usr/ports/sysutils/portupgrade'''&lt;br /&gt;
 oyabun# '''make install clean'''&lt;br /&gt;
&lt;br /&gt;
Once it's done, you'll have to start a new session as [[root]] to use it without typing full pathnames. If you used [[su]] to become root you can exit and re-su, or if you logged in from the physical console as root, you can exit and re-login, or in either case you can simply use [[su]] to start a new shell without closing the old one. (Lazy!)&lt;br /&gt;
&lt;br /&gt;
== Checklist before you run portupgrade... ==&lt;br /&gt;
&lt;br /&gt;
Reading /usr/ports/UPDATING first to know of important upgrades that portupgrade doesn't handle well and exactly what to do about it. A few of these fixes work much better if done _before_ you run portupgrade so it's important not to skip this step!&lt;br /&gt;
&lt;br /&gt;
If you haven't done a portupgrade in a long while (i.e. a year) you're almost certain to run into situations where two or more actions have to be taken to get a port to work (doing perl5.6* -&amp;gt; perl5.8.1 -&amp;gt; 5.8.4 -&amp;gt; 5.8.5 being an example). You can't just assume you can do steps in any order you like; you might even have to fix some Makefiles... so read all of UPDATING before you do anything.&lt;br /&gt;
&lt;br /&gt;
When done with that, you need to use [[pkgdb]] with the -F option to fix any stale dependency first.&lt;br /&gt;
&lt;br /&gt;
== Using portupgrade and portversion ==&lt;br /&gt;
&lt;br /&gt;
Now that that's done, you need to update your ports database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oyabun# portsdb -Uu&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will likely take a while.&lt;br /&gt;
&lt;br /&gt;
Now you can use [[portversion]] to see a list of installed programs that are out of date like so:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portversion | grep \&amp;lt; '''&lt;br /&gt;
 expat                       &amp;lt;&lt;br /&gt;
 ezm3                        &amp;lt;&lt;br /&gt;
 fontconfig                  &amp;lt;&lt;br /&gt;
 freetype2                   &amp;lt;&lt;br /&gt;
 imake                       &amp;lt;&lt;br /&gt;
 libnet-devel                &amp;lt;&lt;br /&gt;
 libtool                     &amp;lt;&lt;br /&gt;
 oyabun#&lt;br /&gt;
 &lt;br /&gt;
This is a possible example of the output you'd recieve from portversion. Issuing a portversion command without the ''| grep '&amp;lt;''' would produce a list of ALL installed packages on your machine, with '''&amp;lt;''' for &amp;quot;out of date&amp;quot;, '''=''' for &amp;quot;current&amp;quot;, and '''&amp;gt;''' for &amp;quot;newer&amp;quot;. How can you get &amp;quot;newer&amp;quot; than what's in the ports tree? This happens if you haven't issued a '''portsdb -Uu''' command to update your ports database. The database contains entries pointing to older versions, while the ports tree itself contains newer versions, leading to situations where portversion reports &amp;quot;&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Now, to upgrade one of these packages, do this:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portupgrade imake'''&lt;br /&gt;
&lt;br /&gt;
Portupgrade will upgrade the port with the newer version available in the ports tree, and also take care of any dependencies the new version may have - if it needed ANOTHER installed port upgraded to a newer version, for example.&lt;br /&gt;
&lt;br /&gt;
That's it. You'll have to repeat these steps (portversion, then portupgrade on one of the results) a few times to complete update your software, but all in all it's fairly simple and straightforward.&lt;br /&gt;
&lt;br /&gt;
Another alternative to running portupgrade manually on all of your packages would be to run the following command:&lt;br /&gt;
 #portupgrade -arR&lt;br /&gt;
The -R will check the build dependencies and the -r will check the applications that depend upon the port being upgraded and the -a will upgrade all out of date ports.&lt;br /&gt;
&lt;br /&gt;
Note - you may sometimes be prompted to run '''pkgdb -F''' to fix inconsistencies with listed dependencies within programs when you issue portversion commands, after upgrading ports. Just do it ('''pkgdb -F''', that is) and it will take care of the problem, allowing you to issue the portversion command.&lt;br /&gt;
&lt;br /&gt;
Once done, go back to /usr/ports/UPDATING and do leftover steps to everything things to work.&lt;br /&gt;
&lt;br /&gt;
== portupgrade countdown ==&lt;br /&gt;
&lt;br /&gt;
On slow computers or for long-delayed updates, you might want to try &amp;quot;ps | grep portupgrade&amp;quot; on another screen to see how portupgrade is doing. It will get you something like this:&lt;br /&gt;
&lt;br /&gt;
ruby18: portupgrade: [338/352]  _name of current port_  (ruby18)&lt;br /&gt;
&lt;br /&gt;
Where [338/352] means there are 352 packages being looked at and portupgrade is currently doing #338. While not every port needs an update, this command is the closest to a progress indicator you'll get for portupgrade.&lt;br /&gt;
&lt;br /&gt;
The version number under _name of current port_ is the OLD version number.&lt;br /&gt;
&lt;br /&gt;
== portupgrade warning ==&lt;br /&gt;
&lt;br /&gt;
Interrupting portupgrade may lead to various system catastrophes such as a broken package database and unability to reach internet to get what you need to fix it. The portupgrade command should never be interrupted. See [[Errors To Avoid]].&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]] [[Category:Ports and Packages]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Top</id>
		<title>Top</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Top"/>
				<updated>2005-02-05T06:23:21Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: oops forgot the renice link. Fixed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[top]] will continuously show your machine's load and which programs are taking what percentage of resources, in real time.&lt;br /&gt;
&lt;br /&gt;
Main commands in top:&lt;br /&gt;
&lt;br /&gt;
s will change the delay (in seconds) between two refreshes of top. Split-seconds aren't allowed but for quick refresh you can use zero.&lt;br /&gt;
&lt;br /&gt;
o followed by one of the following changes the sorting of the display by time of: TIME, RES, SIZE, CPU, PRI&lt;br /&gt;
&lt;br /&gt;
k will send signals such as kill to specified tasks.&lt;br /&gt;
&lt;br /&gt;
m toggles the display between CPU and I/O mode.&lt;br /&gt;
&lt;br /&gt;
u show only the processes of a certain user&lt;br /&gt;
&lt;br /&gt;
r [[renice]] a process for altering its speed. Some renice acts are restricted to root or su mode.&lt;br /&gt;
&lt;br /&gt;
S toggle the display of system processes&lt;br /&gt;
&lt;br /&gt;
t toggle the display of top itself&lt;br /&gt;
&lt;br /&gt;
d change the number of time to refresh top before ending it.&lt;br /&gt;
&lt;br /&gt;
q (at the command line only as &amp;quot;top -q&amp;quot;, restricted to root only) to renice top to -20 for extra fast refresh&lt;br /&gt;
&lt;br /&gt;
Most of the commands work the same way in the command line.&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Errors_To_Avoid</id>
		<title>Errors To Avoid</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Errors_To_Avoid"/>
				<updated>2005-02-01T10:17:17Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: lock files, shutdown&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are errors take may take days to recover from, or may be unrecoverable. Mentors would be wise to have their students know of this list to save precious time and aggravation.&lt;br /&gt;
&lt;br /&gt;
* Never interrupt [[Portupgrade]]. Recovery may take days of work/compile and isn't always a success.&lt;br /&gt;
&lt;br /&gt;
* Never delete directly from /usr/ports and its subdirectories. If you delete even a small and silly game with no dependencies, you can still break things as some package might require it. To save space the command you probably intended is &amp;quot;make clean&amp;quot; or &amp;quot;make distclean&amp;quot;; the latter will clean /usr/ports/distfiles and any packages that were built for your system.&lt;br /&gt;
&lt;br /&gt;
* Never forget to take notes when your mentor walks you thru a complicated and risky process. If he won't give you the time to write it down, check your [[Logs]] later.&lt;br /&gt;
&lt;br /&gt;
* Make sure your backups are up to date before doing anything risky to your system, and always read at least the man pages!&lt;br /&gt;
&lt;br /&gt;
* Check for other lists like this one on the net. Knowledge of what to avoid is crucial if mentor/technician patience is limited.&lt;br /&gt;
&lt;br /&gt;
* Forgetting proper shutdown: Some programs that should only exist once will to leave &amp;quot;lock&amp;quot; files in /home/username/.ProgramName/SomeSubDirectory to prevent running the same program in coexistence; but if you crash or turn off the computer without using [[shutdown]] the &amp;quot;lock&amp;quot; file will stay and prevent running the program again. This happens a lot with browsers and the lock file (literally named &amp;quot;lock&amp;quot; in many cases such as mozilla) can be deleted safely to be able to restart the program. Also, not doing a proper shutdown can have effects from losing random information on your hard disk (rare) to extra delay when booting (common) - and a few commands or applications almost garantee trouble if not shutdown properly.&lt;br /&gt;
&lt;br /&gt;
[[Category : Newbie Friendly]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Portupgrade</id>
		<title>Portupgrade</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Portupgrade"/>
				<updated>2005-01-28T22:30:20Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: portupgrade warning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''portupgrade and you'''&lt;br /&gt;
&lt;br /&gt;
portupgrade is a small collection of tools that goes hand in hand with [[cvsup]]. Portupgrade does what it says - upgrades your ports - but it actually means your ''installed'' ports, even packages that were installed as part of the base system. Portupgrade includes two important programs - ''portupgrade'', and [[portversion]]. Between them and cvsup, you'll have the ability to keep all installed software on your system up to date, so long as it exists in the ports tree.&lt;br /&gt;
&lt;br /&gt;
See also - [[cvsup]] - [[Update_the_ports_tree]] - [[portversion]] - [[Searching ports]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing the Portupgrade suite ==&lt;br /&gt;
&lt;br /&gt;
Installation is very simple:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''cd /usr/ports/sysutils/portupgrade'''&lt;br /&gt;
 oyabun# '''make install clean'''&lt;br /&gt;
&lt;br /&gt;
Once it's done, you'll have to start a new session as [[root]] to use it without typing full pathnames. If you used [[su]] to become root you can exit and re-su, or if you logged in from the physical console as root, you can exit and re-login, or in either case you can simply use [[su]] to start a new shell without closing the old one. (Lazy!)&lt;br /&gt;
&lt;br /&gt;
== Using portupgrade and portversion ==&lt;br /&gt;
&lt;br /&gt;
Now that that's done, you need to update your ports database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oyabun# portsdb -Uu&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will likely take a while.&lt;br /&gt;
&lt;br /&gt;
Now you can use [[portversion]] to see a list of installed programs that are out of date like so:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portversion | grep \&amp;lt; '''&lt;br /&gt;
 expat                       &amp;lt;&lt;br /&gt;
 ezm3                        &amp;lt;&lt;br /&gt;
 fontconfig                  &amp;lt;&lt;br /&gt;
 freetype2                   &amp;lt;&lt;br /&gt;
 imake                       &amp;lt;&lt;br /&gt;
 libnet-devel                &amp;lt;&lt;br /&gt;
 libtool                     &amp;lt;&lt;br /&gt;
 oyabun#&lt;br /&gt;
 &lt;br /&gt;
This is a possible example of the output you'd recieve from portversion. Issuing a portversion command without the ''| grep '&amp;lt;''' would produce a list of ALL installed packages on your machine, with '''&amp;lt;''' for &amp;quot;out of date&amp;quot;, '''=''' for &amp;quot;current&amp;quot;, and '''&amp;gt;''' for &amp;quot;newer&amp;quot;. How can you get &amp;quot;newer&amp;quot; than what's in the ports tree? This happens if you haven't issued a '''portsdb -Uu''' command to update your ports database. The database contains entries pointing to older versions, while the ports tree itself contains newer versions, leading to situations where portversion reports &amp;quot;&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Now, to upgrade one of these packages, do this:&lt;br /&gt;
&lt;br /&gt;
 oyabun# '''portupgrade imake'''&lt;br /&gt;
&lt;br /&gt;
Portupgrade will upgrade the port with the newer version available in the ports tree, and also take care of any dependencies the new version may have - if it needed ANOTHER installed port upgraded to a newer version, for example.&lt;br /&gt;
&lt;br /&gt;
That's it. You'll have to repeat these steps (portversion, then portupgrade on one of the results) a few times to complete update your software, but all in all it's fairly simple and straightforward.&lt;br /&gt;
&lt;br /&gt;
Note - you may sometimes be prompted to run '''pkgdb -F''' to fix inconsistencies with listed dependencies within programs when you issue portversion commands, after upgrading ports. Just do it ('''pkgdb -F''', that is) and it will take care of the problem, allowing you to issue the portversion command.&lt;br /&gt;
&lt;br /&gt;
== portupgrade warning ==&lt;br /&gt;
&lt;br /&gt;
Interrupting portupgrade may lead to various system catastrophes such as a broken package database and unability to reach internet to get what you need to fix it. The portupgrade command should never be interrupted. See [[Errors To Avoid]].&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]] [[Category:Ports and Packages]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Errors_To_Avoid</id>
		<title>Errors To Avoid</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Errors_To_Avoid"/>
				<updated>2005-01-28T22:24:06Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Things newbies should know to avoid 3+ days of aggravation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
There are errors take may take days to recover from, or may be unrecoverable. Mentors would be wise to have their students know of this list to save precious time and aggravation.&lt;br /&gt;
&lt;br /&gt;
* Never interrupt [[Portupgrade]]. Recovery may take days of work/compile and isn't always a success.&lt;br /&gt;
&lt;br /&gt;
* Never delete directly from /usr/ports and its subdirectories. If you delete even a small and silly game with no dependencies, you can still break things as some package might require it. To save space the command you probably intended is &amp;quot;make clean&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* Never forget to take notes when your mentor walks you thru a complicated and risky process. If he won't give you the time to write it down, check your [[Logs]] later.&lt;br /&gt;
&lt;br /&gt;
* Make sure your backups are up to date before doing anything risky to your system!&lt;br /&gt;
&lt;br /&gt;
* Check for other lists like this one on the net. Knowledge of what to avoid is crucial if mentor/technician patience is limited.&lt;br /&gt;
&lt;br /&gt;
[[Category : Newbie Friendly]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-19T02:57:44Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: I didn't get the job.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
==Thanks, I'll try that next!==&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== hosed up diablo install ==&lt;br /&gt;
&lt;br /&gt;
 '''# cd /var/db/pkg'''&lt;br /&gt;
 '''# ls -l | grep iablo'''&lt;br /&gt;
&lt;br /&gt;
any hits?  if you see &amp;quot;diablo-[version number]&amp;quot; in there, then &lt;br /&gt;
&lt;br /&gt;
 '''# rm -rf diablo-[version-number]'''&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 '''# pkgdb -F'''&lt;br /&gt;
&lt;br /&gt;
and any ports which have diablo as a dependency, tell it to delete that dependency entirely.  Then you can go back into the diablo port itself and try building it again.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 23:04, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== all java applets refuse to load, zombie mozilla ==&lt;br /&gt;
&lt;br /&gt;
Result: all java applets refuse to load under mozilla and firebird (yes, java is enabled and shows up under &amp;quot;about plugins&amp;quot; in mozilla). Linux-mozilla doesn't see java.&lt;br /&gt;
&lt;br /&gt;
After a reboot, starting mozilla always gets me a zombie process, and mozilla won't actually open!&lt;br /&gt;
&lt;br /&gt;
Any ideas how to un-hose mozilla?&lt;br /&gt;
&lt;br /&gt;
== unhosing moz ==&lt;br /&gt;
&lt;br /&gt;
try removing the link in the plugins dir for mozilla&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:15, 14 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== Reinstalled mozilla X3 ==&lt;br /&gt;
&lt;br /&gt;
Still getting &amp;quot;Applet app notinited&amp;quot; and other error messages, no java applet ever loads. I get a blank page with a 'x' as the end result. Java still shows in &amp;quot;about plug-ins&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Got the zombie mozilla again, re-reinstalled. Got it yet again, re-re-reinstalled mozilla. Got rid of mozilla-bonobo, no more zombie mozilla (I since learned to delete the 'lock' file when mozilla gets hosed).&lt;br /&gt;
&lt;br /&gt;
Now java still gets &amp;quot;Applet &amp;lt;name of applet&amp;gt; notinited&amp;quot; even under root (as a permission problem had to be tested for), with all cookies allowed and popup blocks disabled. Firebird gives me the same problem.&lt;br /&gt;
&lt;br /&gt;
Clicking the about java in the blank page with the red 'X' in the upper left corner will bring up two options; clicking any of those crashes mozilla.&lt;br /&gt;
&lt;br /&gt;
I'm out of ideas so I asked someone on IRC.&lt;br /&gt;
&lt;br /&gt;
He mentionned &amp;quot;make a libmap.conf&amp;quot; and wouldn't give more details. Anyone knows if making a libmap.conf is any better than a symlink, and why, and especially how?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== Java -version fails ==&lt;br /&gt;
&lt;br /&gt;
Despite the java plugin showing up under &amp;quot;about plugins&amp;quot;, if I type&lt;br /&gt;
java -version&lt;br /&gt;
I get an error message - it won't find the java executable!&lt;br /&gt;
&lt;br /&gt;
javavm -version will work.&lt;br /&gt;
&lt;br /&gt;
How do I fix that??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
I've reinstalled everything from scratch yet again, and &amp;quot;java -version&amp;quot; still won't work!&lt;br /&gt;
&lt;br /&gt;
The next java install will be the last - job offer has timed out! Can somebody help me for next time??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== if it's something you need for a job... ==&lt;br /&gt;
&lt;br /&gt;
why not install a linux? FreeBSD is great, but choose the apropriate tool for the job man...or is it specifically &amp;quot;FreeBSD+Java&amp;quot; that this job requires? My laptop doesn't have enough space for a java install so I can't fully test stuff, and my *nix workstations at work are redhat, solaris and debian(xfld). &lt;br /&gt;
--[[User:Dave|Dave]] 20:58, 18 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
Why would I go thru 200 bloody hours of non-documented install on FreeBSD if there wasn't a job offer requiring it? Yes I'd use Linux, a commodore 64, a programmable hand calculator, Windows, or even lite-brite instead if I'm allowed by the boss. (-;&lt;br /&gt;
&lt;br /&gt;
It turns out the competing candidates couldn't install Java on any FreeBSD browser either so the project is dead - considering this is something a 12 year old gamer can figure out in less than an hour on windows, I've developped a not very polite opinion of whoever wrote this port without leaving proper install notes or at least labeling it broken (as we don't have a &amp;quot;can be inhumanely hard to configure on some systems&amp;quot; label).&lt;br /&gt;
&lt;br /&gt;
For the record on FreeBSD, the license and file fetching is only 1% of the problem.&lt;br /&gt;
&lt;br /&gt;
It reminds me of /usr/ports/lang/dis (that's a pkg-descr is worth reading!)&lt;br /&gt;
&lt;br /&gt;
Anyhow. I've realised that to get help from the wiki, my best bet is to make it known until we get lots more users including a few nice unix wizards.&lt;br /&gt;
&lt;br /&gt;
I'll give java another try maybe next week - if only to write a java plugin troubleshooting page.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-18T23:47:12Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Last call at helping me get a Java job!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
==Thanks, I'll try that next!==&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== hosed up diablo install ==&lt;br /&gt;
&lt;br /&gt;
 '''# cd /var/db/pkg'''&lt;br /&gt;
 '''# ls -l | grep iablo'''&lt;br /&gt;
&lt;br /&gt;
any hits?  if you see &amp;quot;diablo-[version number]&amp;quot; in there, then &lt;br /&gt;
&lt;br /&gt;
 '''# rm -rf diablo-[version-number]'''&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 '''# pkgdb -F'''&lt;br /&gt;
&lt;br /&gt;
and any ports which have diablo as a dependency, tell it to delete that dependency entirely.  Then you can go back into the diablo port itself and try building it again.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 23:04, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== all java applets refuse to load, zombie mozilla ==&lt;br /&gt;
&lt;br /&gt;
Result: all java applets refuse to load under mozilla and firebird (yes, java is enabled and shows up under &amp;quot;about plugins&amp;quot; in mozilla). Linux-mozilla doesn't see java.&lt;br /&gt;
&lt;br /&gt;
After a reboot, starting mozilla always gets me a zombie process, and mozilla won't actually open!&lt;br /&gt;
&lt;br /&gt;
Any ideas how to un-hose mozilla?&lt;br /&gt;
&lt;br /&gt;
== unhosing moz ==&lt;br /&gt;
&lt;br /&gt;
try removing the link in the plugins dir for mozilla&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:15, 14 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== Reinstalled mozilla X3 ==&lt;br /&gt;
&lt;br /&gt;
Still getting &amp;quot;Applet app notinited&amp;quot; and other error messages, no java applet ever loads. I get a blank page with a 'x' as the end result. Java still shows in &amp;quot;about plug-ins&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Got the zombie mozilla again, re-reinstalled. Got it yet again, re-re-reinstalled mozilla. Got rid of mozilla-bonobo, no more zombie mozilla (I since learned to delete the 'lock' file when mozilla gets hosed).&lt;br /&gt;
&lt;br /&gt;
Now java still gets &amp;quot;Applet &amp;lt;name of applet&amp;gt; notinited&amp;quot; even under root (as a permission problem had to be tested for), with all cookies allowed and popup blocks disabled. Firebird gives me the same problem.&lt;br /&gt;
&lt;br /&gt;
Clicking the about java in the blank page with the red 'X' in the upper left corner will bring up two options; clicking any of those crashes mozilla.&lt;br /&gt;
&lt;br /&gt;
I'm out of ideas so I asked someone on IRC.&lt;br /&gt;
&lt;br /&gt;
He mentionned &amp;quot;make a libmap.conf&amp;quot; and wouldn't give more details. Anyone knows if making a libmap.conf is any better than a symlink, and why, and especially how?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== Java -version fails ==&lt;br /&gt;
&lt;br /&gt;
Despite the java plugin showing up under &amp;quot;about plugins&amp;quot;, if I type&lt;br /&gt;
java -version&lt;br /&gt;
I get an error message - it won't find the java executable!&lt;br /&gt;
&lt;br /&gt;
javavm -version will work.&lt;br /&gt;
&lt;br /&gt;
How do I fix that??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
I've reinstalled everything from scratch yet again, and &amp;quot;java -version&amp;quot; still won't work!&lt;br /&gt;
&lt;br /&gt;
The next java install will be the last - job offer has timed out! Can somebody help me for next time??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Main_Page"/>
				<updated>2005-01-18T18:21:16Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to FreeBSDwiki.net.'''&lt;br /&gt;
&lt;br /&gt;
This is a fledgling wikipedia devoted primarily to common issues faced by new and veteran FreeBSD administrators.  The goal is to create a common knowledge store which could also be referred to as &amp;quot;FreeBSD for the Impatient&amp;quot;, in other words, a place where it is easy to delve straight into simple answers about common needs and problems relating to both FreeBSD servers and their integration into other types of networks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[Special : Categories | Categories]]:'''&lt;br /&gt;
&lt;br /&gt;
# [[:Category : Why FreeBSD? |Why FreeBSD?]]&lt;br /&gt;
# [[:Category : Installation |Installing FreeBSD]]&lt;br /&gt;
# [[:Category : Architecture-Specific |Architecture-Specific]]&lt;br /&gt;
# [[:Category : Configuring FreeBSD |Configuring FreeBSD]]&lt;br /&gt;
# [[:Category : Important Config Files |Important Config Files]]&lt;br /&gt;
# [[:Category : System Commands |System Commands]]&lt;br /&gt;
# [[:Category : Common Tasks |Common Tasks]]&lt;br /&gt;
# [[:Category : FreeBSD for Workstations | FreeBSD for Workstations]] &lt;br /&gt;
# [[:Category : Ports and Packages|Ports and Packages]]&lt;br /&gt;
# [[:Category : FreeBSD Terminology |FreeBSD Terminology]]&lt;br /&gt;
# [[:Category : Windows Equivalents |Windows Equivalents]]&lt;br /&gt;
# [[:Category : Cygwin |Cygwin]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please feel free to register and contribute!  If you need a little help figuring out how to add articles or categories, please see [[Help:Adding Content]].  If you would like some basic guidelines on how to format your article, see [[Help:Style Guidelines]].&lt;br /&gt;
&lt;br /&gt;
==Other FreeBSD wikis==&lt;br /&gt;
&lt;br /&gt;
* [http://wikitest.freebsd.org/] seems to be a brand new FreeBSD developper wiki. They have a restrictive policy that you must be added by a developper to be allowed to edit it.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Main_Page"/>
				<updated>2005-01-18T18:08:54Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Linked to a new FreeBSD wiki&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to FreeBSDwiki.net.'''&lt;br /&gt;
&lt;br /&gt;
This is a fledgling wikipedia devoted primarily to common issues faced by new and veteran FreeBSD administrators.  The goal is to create a common knowledge store which could also be referred to as &amp;quot;FreeBSD for the Impatient&amp;quot;, in other words, a place where it is easy to delve straight into simple answers about common needs and problems relating to both FreeBSD servers and their integration into other types of networks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[Special : Categories | Categories]]:'''&lt;br /&gt;
&lt;br /&gt;
# [[:Category : Why FreeBSD? |Why FreeBSD?]]&lt;br /&gt;
# [[:Category : Installation |Installing FreeBSD]]&lt;br /&gt;
# [[:Category : Architecture-Specific |Architecture-Specific]]&lt;br /&gt;
# [[:Category : Configuring FreeBSD |Configuring FreeBSD]]&lt;br /&gt;
# [[:Category : Important Config Files |Important Config Files]]&lt;br /&gt;
# [[:Category : System Commands |System Commands]]&lt;br /&gt;
# [[:Category : Common Tasks |Common Tasks]]&lt;br /&gt;
# [[:Category : FreeBSD for Workstations | FreeBSD for Workstations]] &lt;br /&gt;
# [[:Category : Ports and Packages|Ports and Packages]]&lt;br /&gt;
# [[:Category : FreeBSD Terminology |FreeBSD Terminology]]&lt;br /&gt;
# [[:Category : Windows Equivalents |Windows Equivalents]]&lt;br /&gt;
# [[:Category : Cygwin |Cygwin]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please feel free to register and contribute!  If you need a little help figuring out how to add articles or categories, please see [[Help:Adding Content]].  If you would like some basic guidelines on how to format your article, see [[Help:Style Guidelines]].&lt;br /&gt;
&lt;br /&gt;
==Other FreeBSD wikis==&lt;br /&gt;
&lt;br /&gt;
* [http://wikitest.freebsd.org/] seems to be a brand new FreeBSD developper wiki.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Port_Install_Troubleshooting</id>
		<title>Port Install Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Port_Install_Troubleshooting"/>
				<updated>2005-01-17T19:13:38Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: distclean and archiving first&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Common port install troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Hosed port - can't install or deinstall ===&lt;br /&gt;
&lt;br /&gt;
Sometimes a port is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a &amp;quot;make install&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
After you verify that you're dealing with a port and not a package, try the following&lt;br /&gt;
&lt;br /&gt;
 cd /var/db/pkg&lt;br /&gt;
 ls -l | grep NameOfHosedPort&lt;br /&gt;
&lt;br /&gt;
'''rm -rf NameOfHosedPort'''  or  '''rm -rf NameOfHosedPort-[version-number]''' as the ls command indicated.&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 pkgdb -F&lt;br /&gt;
&lt;br /&gt;
Then you can build the port again.&lt;br /&gt;
&lt;br /&gt;
If any port has NameOfHosedPort as a dependency, you should deinstall and reinstall them to make sure you don't stay with a hard-to-track bug later as you eventually forget about this install incident.&lt;br /&gt;
&lt;br /&gt;
To know what the dependencies of NameOfHosedPort are, do THIS&lt;br /&gt;
&lt;br /&gt;
=== Broken or forbidden ports ===&lt;br /&gt;
&lt;br /&gt;
If the port is important for your work you should upgrade to a secure version, find an alternative port to do the job, or if you are feeling like taking a risk (usually on a non-internet-connected workstation) you can tolerate a forbidden port.&lt;br /&gt;
&lt;br /&gt;
Ports that are too insecure for normal use or cause systemwide problems are listed HERE.&lt;br /&gt;
&lt;br /&gt;
=== Lack of hard drive space after installing many ports ===&lt;br /&gt;
&lt;br /&gt;
Think about backuping it first. Once it's done (or skipped at your own risk), use '''make distclean''' but if you ever have to build any of your ports again you'll have to fetch them again which can be time-consuming and occasionally frustrating as day-fresh ports are sometimes broken or unavailable.&lt;br /&gt;
&lt;br /&gt;
Many people choose to archive their distfiles directory on CDs once in a while just in case an obscure dependency or a marginally supported port is unavailable/broken. The more ports you rely on, the more archiving them can be a timesaver when you need to get a workstation doing a certain task ASAP!&lt;br /&gt;
&lt;br /&gt;
== Advanced troubleshooting ==&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Port_Install_Troubleshooting</id>
		<title>Talk:Port Install Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Port_Install_Troubleshooting"/>
				<updated>2005-01-17T18:55:49Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Shit -&amp;gt; Stuff&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I'm not sure my example was really a port, I see &amp;quot;pkg&amp;quot; a lot in the commands. Also I've left the page incomplete due to my current lack of knowledge in some areas.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== short version ==&lt;br /&gt;
&lt;br /&gt;
when you install a port, what the &amp;quot;make&amp;quot; does is -- wait for it -- ''make'' a package. the &amp;quot;make install&amp;quot; ''installs'' the pkg that the &amp;quot;make&amp;quot; built, and all the other stuff that gets downloaded and installed and used temporarily gets tossed in /usr/ports/distfiles. generally speaking, you won't need anything in /usr/ports/distfiles unless you're planning on building that port again, which is why it's a good idea to run &amp;quot;make distclean&amp;quot; from /usr/ports every once in a while, since that stuff can really take up a lot of space.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 13:17, 17 Jan 2005 (EST)&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Root_privilege</id>
		<title>Root privilege</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Root_privilege"/>
				<updated>2005-01-17T18:32:15Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a seperate entry because -- surprise -- you don't have to be [[root]] to run programs (or for [[daemons]] to run themselves) as root in order to have root privilege. Any daemon, user or group that has a [[uid]] or [[gid]] of 0 runs as [[root]] effectively. So anyone that hijacks an account that has a root uid is effectively root. Which is why it's a good idea to run as few programs as possible that do that.&lt;br /&gt;
&lt;br /&gt;
Denying the right to use [[su]], and therefore unlimited root privilege, from a regular user account is more secure for work that doesn't need root privileges in unpredictable ways; root can make scripts for that user to still be able to do predictabled root-privilege tasks as needed. Root is harder to hack that way if that user is compromised by a hacker or malware - assuming the simple user isn't permitted to edit the scripts, which is a common novice oversight.&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Ports,_Installing</id>
		<title>Ports, Installing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Ports,_Installing"/>
				<updated>2005-01-17T18:07:36Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: + &amp;quot;or other problems&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See also: [[Ports]]&lt;br /&gt;
&lt;br /&gt;
Installing software in FreeBSD is very easy if you use the ports tree. To use the ports tree you will first need to [[Installing the Ports Tree | install]] it. If you have the ports tree installed on your system you should try and keep it [[Update the ports tree | updated]] with the most recent software.&lt;br /&gt;
&lt;br /&gt;
Remember you can always get help with ports by typing:&lt;br /&gt;
 &amp;gt; '''man ports'''&lt;br /&gt;
&lt;br /&gt;
To install a specific program you can [[Searching ports | search]] the ports tree to see if there is a port.&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/'''&lt;br /&gt;
 &amp;gt; '''make search name=bash&lt;br /&gt;
 (listing of all the ports that have 'bash' in their '''name''')&lt;br /&gt;
 &amp;gt; '''make search key=bash'''&lt;br /&gt;
 (listing of all the ports that have 'bash' anywhere in the description)&lt;br /&gt;
&lt;br /&gt;
The top command will return a number of results that look something like:&lt;br /&gt;
 Port:   bash-2.05b.007_2&lt;br /&gt;
 Path:   /usr/ports/shells/bash2&lt;br /&gt;
 Info:   The GNU Bourne Again Shell&lt;br /&gt;
 Maint:  obrien@FreeBSD.org&lt;br /&gt;
 B-deps: &lt;br /&gt;
 R-deps:&lt;br /&gt;
&lt;br /&gt;
This listing tells you where the port you want to install is, in this case it is in shells/bash2. Now there are a number of things you can do to install a port such as&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/shells/bash2'''&lt;br /&gt;
 &amp;gt; '''make install'''&lt;br /&gt;
 (this will download, compile, and install the port and all of its dependencies)&lt;br /&gt;
 &amp;gt; '''make clean'''&lt;br /&gt;
 (this will clean up the port directory as well as dependencies after an install)&lt;br /&gt;
 &amp;gt; '''make distclean'''&lt;br /&gt;
 (same as clean but will remove the distfiles for the ports aswell)&lt;br /&gt;
 &amp;gt; '''make extract'''&lt;br /&gt;
 (this will just extract the port to a ./work drectory)&lt;br /&gt;
 &amp;gt; '''make depends'''&lt;br /&gt;
 (this will install (or compile) all of the dependencies of the current port)&lt;br /&gt;
 &amp;gt; '''make install distclean'''&lt;br /&gt;
 (commands can be written in sequence like this one to install a port then distclean)&lt;br /&gt;
&lt;br /&gt;
Ports can also be deinstalled easily&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/shells/bash2'''&lt;br /&gt;
 &amp;gt; '''make deinstall'''&lt;br /&gt;
&lt;br /&gt;
If a port can't be deinstalled or installed, verify that it is a port and not a package. If it's a port or you're having other problems, see [[Port Install Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html FreeBSD Handbook]&lt;br /&gt;
&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Port_Install_Troubleshooting</id>
		<title>Talk:Port Install Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Port_Install_Troubleshooting"/>
				<updated>2005-01-17T18:06:23Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I'm not sure my example was really a port, I see &amp;quot;pkg&amp;quot; a lot in the commands. Also I've left the page incomplete due to my current lack of knowledge in some areas.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Port_Install_Troubleshooting</id>
		<title>Talk:Port Install Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Port_Install_Troubleshooting"/>
				<updated>2005-01-17T18:06:03Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Not sure. Incomplete.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
I'm not sure my example was really a port, I see &amp;quot;pkg&amp;quot; a lot in the commands. Also I've left the page incomplete due to my current lack of knowledge in some areas.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Port_Install_Troubleshooting</id>
		<title>Port Install Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Port_Install_Troubleshooting"/>
				<updated>2005-01-17T18:04:55Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Troubleshooting port install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Common port install troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Hosed port - can't install or deinstall ===&lt;br /&gt;
&lt;br /&gt;
Sometimes a port is 'hosed', that is not fully installed but not fully deinstalled either (usually as the result of interrupting a &amp;quot;make install&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
After you verify that you're dealing with a port and not a package, try the following&lt;br /&gt;
&lt;br /&gt;
 cd /var/db/pkg&lt;br /&gt;
 ls -l | grep NameOfHosedPort&lt;br /&gt;
&lt;br /&gt;
'''rm -rf NameOfHosedPort'''  or  '''rm -rf NameOfHosedPort-[version-number]''' as the ls command indicated.&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 pkgdb -F&lt;br /&gt;
&lt;br /&gt;
Then you can build the port again.&lt;br /&gt;
&lt;br /&gt;
If any port has NameOfHosedPort as a dependency, you should deinstall and reinstall them to make sure you don't stay with a hard-to-track bug later as you eventually forget about this install incident.&lt;br /&gt;
&lt;br /&gt;
To know what the dependencies of NameOfHosedPort are, do THIS&lt;br /&gt;
&lt;br /&gt;
=== Broken or forbidden ports ===&lt;br /&gt;
&lt;br /&gt;
If the port is important for your work you should upgrade to a secure version, find an alternative port to do the job, or if you are &lt;br /&gt;
&lt;br /&gt;
Ports that are too insecure for normal use are listed HERE.&lt;br /&gt;
&lt;br /&gt;
== Advanced troubleshooting ==&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Ports,_Installing</id>
		<title>Ports, Installing</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Ports,_Installing"/>
				<updated>2005-01-17T17:49:09Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Port troubleshooting. Entire books are needed on the subject. (-;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See also: [[Ports]]&lt;br /&gt;
&lt;br /&gt;
Installing software in FreeBSD is very easy if you use the ports tree. To use the ports tree you will first need to [[Installing the Ports Tree | install]] it. If you have the ports tree installed on your system you should try and keep it [[Update the ports tree | updated]] with the most recent software.&lt;br /&gt;
&lt;br /&gt;
Remember you can always get help with ports by typing:&lt;br /&gt;
 &amp;gt; '''man ports'''&lt;br /&gt;
&lt;br /&gt;
To install a specific program you can [[Searching ports | search]] the ports tree to see if there is a port.&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/'''&lt;br /&gt;
 &amp;gt; '''make search name=bash&lt;br /&gt;
 (listing of all the ports that have 'bash' in their '''name''')&lt;br /&gt;
 &amp;gt; '''make search key=bash'''&lt;br /&gt;
 (listing of all the ports that have 'bash' anywhere in the description)&lt;br /&gt;
&lt;br /&gt;
The top command will return a number of results that look something like:&lt;br /&gt;
 Port:   bash-2.05b.007_2&lt;br /&gt;
 Path:   /usr/ports/shells/bash2&lt;br /&gt;
 Info:   The GNU Bourne Again Shell&lt;br /&gt;
 Maint:  obrien@FreeBSD.org&lt;br /&gt;
 B-deps: &lt;br /&gt;
 R-deps:&lt;br /&gt;
&lt;br /&gt;
This listing tells you where the port you want to install is, in this case it is in shells/bash2. Now there are a number of things you can do to install a port such as&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/shells/bash2'''&lt;br /&gt;
 &amp;gt; '''make install'''&lt;br /&gt;
 (this will download, compile, and install the port and all of its dependencies)&lt;br /&gt;
 &amp;gt; '''make clean'''&lt;br /&gt;
 (this will clean up the port directory as well as dependencies after an install)&lt;br /&gt;
 &amp;gt; '''make distclean'''&lt;br /&gt;
 (same as clean but will remove the distfiles for the ports aswell)&lt;br /&gt;
 &amp;gt; '''make extract'''&lt;br /&gt;
 (this will just extract the port to a ./work drectory)&lt;br /&gt;
 &amp;gt; '''make depends'''&lt;br /&gt;
 (this will install (or compile) all of the dependencies of the current port)&lt;br /&gt;
 &amp;gt; '''make install distclean'''&lt;br /&gt;
 (commands can be written in sequence like this one to install a port then distclean)&lt;br /&gt;
&lt;br /&gt;
Ports can also be deinstalled easily&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/shells/bash2'''&lt;br /&gt;
 &amp;gt; '''make deinstall'''&lt;br /&gt;
&lt;br /&gt;
If a port can't be deinstalled or installed, verify that it is a port and not a package. If it's a port, see [[Port Install Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html FreeBSD Handbook]&lt;br /&gt;
&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:FreeBSD for Workstations]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Pipe</id>
		<title>Pipe</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Pipe"/>
				<updated>2005-01-17T17:46:20Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Examples. Newbies need examples of actual use!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[pipe]] -- represented by the '''|''' character (shift-\ on most keyboards) -- is a function of the shell, but works the same way in whatever shell you choose. It works, unsurprisingly, as a pipe between one command and another and is a form of [[redirection]], like '''&amp;gt;''', '''&amp;gt;&amp;gt;''' and '''&amp;lt;'''. Most often it's used to pipe lengthy output (e.g., '''[[ps]] aux''') to another command, like [[more]] (or [[less]]).&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
'''ls | grep log''' will list .log files as well as anything with the letters &amp;quot;log&amp;quot; in it instead of the whole current directory.&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Grep</id>
		<title>Grep</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Grep"/>
				<updated>2005-01-17T17:40:49Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Common uses of grep&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[grep]] returns results that match a string. You can use it to find a line in a file in a directory, by having grep run through the directory and show you what matches your query. Grep accepts input from the commandline, but is more often fed input in conjunction with other commands, such as [[find]], [[ls]] or [[cat]]:&lt;br /&gt;
&lt;br /&gt;
 samizdata#''' ls -la /etc | grep .conf'''&lt;br /&gt;
 -rw-r--r--   1 root  wheel      1163 Jun  5  2003 apmd.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel       271 Jun  5  2003 auth.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel      2965 Jun  5  2003 devd.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel      2073 Jun  5  2003 devfs.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel       267 Jun  5  2003 dhclient.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel      5159 Jun  5  2003 inetd.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel      6521 Jun  5  2003 login.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel     65536 Jun  5  2003 login.conf.db&lt;br /&gt;
 -rw-r--r--   1 root  wheel       503 Jun  5  2003 mac.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel       201 Jun  5  2003 make.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel       963 Jun  5  2003 manpath.config&lt;br /&gt;
 -rw-r--r--   1 root  wheel       963 Jun  5  2003 manpath.config.bak&lt;br /&gt;
 -rw-r--r--   1 root  wheel       783 Jun  5  2003 netconfig&lt;br /&gt;
 -rw-r--r--   1 root  wheel      1871 Jun  5  2003 newsyslog.conf&lt;br /&gt;
 -rw-------   1 root  wheel      1701 Jun  5  2003 nsmb.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel       630 Aug 23 21:46 rc.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel        45 Jun  5  2003 resolv.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel       367 Jun  5  2003 sysctl.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel      1329 Jun  5  2003 syslog.conf&lt;br /&gt;
 -rw-r--r--   1 root  wheel      2023 Jun  5  2003 usbd.conf&lt;br /&gt;
&lt;br /&gt;
Let's say you want to know which of your users has [[csh]] as their shell:&lt;br /&gt;
&lt;br /&gt;
 samizdata# '''cat passwd | grep csh'''&lt;br /&gt;
 root:*:0:0:Avatar:/root:/bin/csh&lt;br /&gt;
 samizdata#&lt;br /&gt;
&lt;br /&gt;
Looks like only [[root]] does.&lt;br /&gt;
&lt;br /&gt;
==Common uses of grep==&lt;br /&gt;
&lt;br /&gt;
'''grep -l pattern *''' to get only the filename of files that match in the current directory.&lt;br /&gt;
&lt;br /&gt;
'''grep -i pattern *''' to get lines that match inside files in the current directory. The &amp;quot;-i&amp;quot; is for case-insensitive so you'll match &amp;quot;Pattern&amp;quot; and &amp;quot;PATTERN&amp;quot; too.&lt;br /&gt;
&lt;br /&gt;
'''grep -l goodpattern * | grep -v badpattern ''' This use a [[Pipe]] to get grep output as the input of another grep; it gets you lines having goodpattern but not badpattern in the current directory (the &amp;quot;-v&amp;quot; means &amp;quot;non-matching instead of matching&amp;quot;). You can switch the two grep around if you like, but the directory to be searched must go to the leftmost grep after the pattern.&lt;br /&gt;
&lt;br /&gt;
'''grep -f No-No-list *''' to get patterns from to match from the file 'No-No-list' instead of the command line. There can be hundreds of patterns listed in it (one per line). This is useful when looking for large sets of common typos, autodetection of swear words and known spam on wikis, and finding code snippets that have to be modified for compatibility purposes.&lt;br /&gt;
&lt;br /&gt;
See also: [[strings]]&lt;br /&gt;
&lt;br /&gt;
[[Category:FreeBSD Terminology]] [[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/User_talk:Simon</id>
		<title>User talk:Simon</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User_talk:Simon"/>
				<updated>2005-01-15T14:22:29Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Thanks, I'll try that and maybe wiki the walkthru&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;java ... have you seen (and tried) http://www.freebsd.org/java/ ?&lt;br /&gt;
&lt;br /&gt;
also, http://lists.freebsd.org/pipermail/freebsd-mozilla/2003-September/000048.html suggests that you would need to install the linux version of mozilla/firefox/whatever and then install the linux jre/jdk and copy the relevant .so from the java dir to your ~/.mozilla/plugins dir (see the first page if that doesn't work for you though...)&lt;br /&gt;
&lt;br /&gt;
-d.&lt;br /&gt;
&lt;br /&gt;
-------&lt;br /&gt;
&lt;br /&gt;
Sorry, using FreeBsd version 5.x which your first link claims to be incompatible.&lt;br /&gt;
&lt;br /&gt;
Yet some people claim to have installed it, somehow. How is it done?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
About your project help, if you install the mplayer plugin you can watch .WMV in firefox or mozilla, you just need to have the codecs installed properlly, see [[Mplayer Installation]].   --[[User:Nvrmnd|Nvrmnd]] 00:39, 15 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
I'll make a full page - if it works. Still working on java...&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-15T01:14:45Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
==Thanks, I'll try that next!==&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== hosed up diablo install ==&lt;br /&gt;
&lt;br /&gt;
 '''# cd /var/db/pkg'''&lt;br /&gt;
 '''# ls -l | grep iablo'''&lt;br /&gt;
&lt;br /&gt;
any hits?  if you see &amp;quot;diablo-[version number]&amp;quot; in there, then &lt;br /&gt;
&lt;br /&gt;
 '''# rm -rf diablo-[version-number]'''&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 '''# pkgdb -F'''&lt;br /&gt;
&lt;br /&gt;
and any ports which have diablo as a dependency, tell it to delete that dependency entirely.  Then you can go back into the diablo port itself and try building it again.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 23:04, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== all java applets refuse to load, zombie mozilla ==&lt;br /&gt;
&lt;br /&gt;
Result: all java applets refuse to load under mozilla and firebird (yes, java is enabled and shows up under &amp;quot;about plugins&amp;quot; in mozilla). Linux-mozilla doesn't see java.&lt;br /&gt;
&lt;br /&gt;
After a reboot, starting mozilla always gets me a zombie process, and mozilla won't actually open!&lt;br /&gt;
&lt;br /&gt;
Any ideas how to un-hose mozilla?&lt;br /&gt;
&lt;br /&gt;
== unhosing moz ==&lt;br /&gt;
&lt;br /&gt;
try removing the link in the plugins dir for mozilla&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:15, 14 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== Reinstalled mozilla X3 ==&lt;br /&gt;
&lt;br /&gt;
Still getting &amp;quot;Applet app notinited&amp;quot; and other error messages, no java applet ever loads. I get a blank page with a 'x' as the end result. Java still shows in &amp;quot;about plug-ins&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Got the zombie mozilla again, re-reinstalled. Got it yet again, re-re-reinstalled mozilla. Got rid of mozilla-bonobo, no more zombie mozilla!&lt;br /&gt;
&lt;br /&gt;
Now java still gets &amp;quot;Applet &amp;lt;name of applet&amp;gt; notinited&amp;quot; even under root (as a permission problem had to be tested for), with all cookies allowed and popup blocks disabled. Firebird gives me the same problem.&lt;br /&gt;
&lt;br /&gt;
Clicking the about java in the blank page with the red 'X' in the upper left corner will bring up two options; clicking any of those crashes mozilla.&lt;br /&gt;
&lt;br /&gt;
I'm out of ideas so I asked someone on IRC.&lt;br /&gt;
&lt;br /&gt;
He mentionned &amp;quot;make a libmap.conf&amp;quot; and wouldn't give more details. Anyone knows if making a libmap.conf is any better than a symlink, and why, and especially how?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== New! Java -version test failed ==&lt;br /&gt;
&lt;br /&gt;
Despite the java plugin showing up under &amp;quot;about plugins&amp;quot;, if I type&lt;br /&gt;
java -version&lt;br /&gt;
I get an error message - it won't find the file!&lt;br /&gt;
&lt;br /&gt;
javavm -version will work.&lt;br /&gt;
&lt;br /&gt;
How do I fix that??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-14T22:00:56Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
==Thanks, I'll try that next!==&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== hosed up diablo install ==&lt;br /&gt;
&lt;br /&gt;
 '''# cd /var/db/pkg'''&lt;br /&gt;
 '''# ls -l | grep iablo'''&lt;br /&gt;
&lt;br /&gt;
any hits?  if you see &amp;quot;diablo-[version number]&amp;quot; in there, then &lt;br /&gt;
&lt;br /&gt;
 '''# rm -rf diablo-[version-number]'''&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 '''# pkgdb -F'''&lt;br /&gt;
&lt;br /&gt;
and any ports which have diablo as a dependency, tell it to delete that dependency entirely.  Then you can go back into the diablo port itself and try building it again.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 23:04, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== all java applets refuse to load, zombie mozilla ==&lt;br /&gt;
&lt;br /&gt;
Result: all java applets refuse to load under mozilla and firebird (yes, java is enabled and shows up under &amp;quot;about plugins&amp;quot; in mozilla). Linux-mozilla doesn't see java.&lt;br /&gt;
&lt;br /&gt;
After a reboot, starting mozilla always gets me a zombie process, and mozilla won't actually open!&lt;br /&gt;
&lt;br /&gt;
Any ideas how to un-hose mozilla?&lt;br /&gt;
&lt;br /&gt;
== unhosing moz ==&lt;br /&gt;
&lt;br /&gt;
try removing the link in the plugins dir for mozilla&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:15, 14 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== Reinstalled mozilla X3 ==&lt;br /&gt;
&lt;br /&gt;
Still getting &amp;quot;Applet app notinited&amp;quot; and other error messages, no java applet ever loads. I get a blank page with a 'x' as the end result. Java still shows in &amp;quot;about plug-ins&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Got the zombie mozilla again, re-reinstalled. Got it yet again, re-re-reinstalled mozilla. Got rid of mozilla-bonobo, no more zombie mozilla!&lt;br /&gt;
&lt;br /&gt;
Now java still gets &amp;quot;Applet &amp;lt;name of applet&amp;gt; notinited&amp;quot; even under root (as a permission problem had to be tested for), with all cookies allowed and popup blocks disabled. Firebird gives me the same problem.&lt;br /&gt;
&lt;br /&gt;
Clicking the about java in the blank page with the red 'X' in the upper left corner will bring up two options; clicking any of those crashes mozilla.&lt;br /&gt;
&lt;br /&gt;
I'm out of ideas so I asked someone on IRC.&lt;br /&gt;
&lt;br /&gt;
He mentionned &amp;quot;make a libmap.conf&amp;quot; and wouldn't give more details. Anyone knows if making a libmap.conf is any better than a symlink, and why, and especially how?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-14T16:56:16Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
==Thanks, I'll try that next!==&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== hosed up diablo install ==&lt;br /&gt;
&lt;br /&gt;
 '''# cd /var/db/pkg'''&lt;br /&gt;
 '''# ls -l | grep iablo'''&lt;br /&gt;
&lt;br /&gt;
any hits?  if you see &amp;quot;diablo-[version number]&amp;quot; in there, then &lt;br /&gt;
&lt;br /&gt;
 '''# rm -rf diablo-[version-number]'''&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 '''# pkgdb -F'''&lt;br /&gt;
&lt;br /&gt;
and any ports which have diablo as a dependency, tell it to delete that dependency entirely.  Then you can go back into the diablo port itself and try building it again.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 23:04, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== all java applets refuse to load, zombie mozilla ==&lt;br /&gt;
&lt;br /&gt;
Result: all java applets refuse to load under mozilla and firebird (yes, java is enabled and shows up under &amp;quot;about plugins&amp;quot; in mozilla). Linux-mozilla doesn't see java.&lt;br /&gt;
&lt;br /&gt;
After a reboot, starting mozilla always gets me a zombie process, and mozilla won't actually open!&lt;br /&gt;
&lt;br /&gt;
Any ideas how to un-hose mozilla?&lt;br /&gt;
&lt;br /&gt;
== unhosing moz ==&lt;br /&gt;
&lt;br /&gt;
try removing the link in the plugins dir for mozilla&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:15, 14 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== Reinstalled mozilla X3 ==&lt;br /&gt;
&lt;br /&gt;
Still getting &amp;quot;Applet app notinited&amp;quot; and other error messages, no java applet ever loads. I get a blank page with a 'x' as the end result. Java still shows in &amp;quot;about plug-ins&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Got the zombie mozilla again, re-reinstalled. Got it yet again, re-re-reinstalled mozilla. Got rid of mozilla-bonobo, no more zombie mozilla!&lt;br /&gt;
&lt;br /&gt;
Now java still gets &amp;quot;Applet &amp;lt;name of applet&amp;gt; notinited&amp;quot; even under root (as a permission problem had to be tested for), with all cookies allowed and popup blocks disabled. Firebird gives me the same problem.&lt;br /&gt;
&lt;br /&gt;
Clicking the about java in the blank page with the red 'X' in the upper left corner will bring up two options; clicking any of those crashes mozilla.&lt;br /&gt;
&lt;br /&gt;
I'm out of ideas!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-14T16:17:46Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
==Thanks, I'll try that next!==&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== hosed up diablo install ==&lt;br /&gt;
&lt;br /&gt;
 '''# cd /var/db/pkg'''&lt;br /&gt;
 '''# ls -l | grep iablo'''&lt;br /&gt;
&lt;br /&gt;
any hits?  if you see &amp;quot;diablo-[version number]&amp;quot; in there, then &lt;br /&gt;
&lt;br /&gt;
 '''# rm -rf diablo-[version-number]'''&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 '''# pkgdb -F'''&lt;br /&gt;
&lt;br /&gt;
and any ports which have diablo as a dependency, tell it to delete that dependency entirely.  Then you can go back into the diablo port itself and try building it again.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 23:04, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== all java applets refuse to load, zombie mozilla ==&lt;br /&gt;
&lt;br /&gt;
Result: all java applets refuse to load under mozilla and firebird (yes, java is enabled and shows up under &amp;quot;about plugins&amp;quot; in mozilla). Linux-mozilla doesn't see java.&lt;br /&gt;
&lt;br /&gt;
After a reboot, starting mozilla always gets me a zombie process, and mozilla won't actually open!&lt;br /&gt;
&lt;br /&gt;
Any ideas how to un-hose mozilla?&lt;br /&gt;
&lt;br /&gt;
== unhosing moz ==&lt;br /&gt;
&lt;br /&gt;
try removing the link in the plugins dir for mozilla&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:15, 14 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
== Reinstalled mozilla ==&lt;br /&gt;
&lt;br /&gt;
Still getting &amp;quot;Applet app notinited&amp;quot; and other error messages, no java applet ever loads. I get a blank page with a 'x' as the end result. Java still shows in &amp;quot;about plug-ins&amp;quot;&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-12T17:20:45Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: As stated before..... (more details)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==This didn't help!!==&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
==to make a long story much shorter==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
==...==&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
==as i stated before....==&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;br /&gt;
&lt;br /&gt;
== do not use pkg_add ==&lt;br /&gt;
&lt;br /&gt;
don't use the package tools to install diablo.&lt;br /&gt;
&lt;br /&gt;
how to install diablo-jre:&lt;br /&gt;
&lt;br /&gt;
# download the diablo .tgz or .tbz&lt;br /&gt;
# mv it to /usr/ports/distfiles&lt;br /&gt;
# cd into /usr/ports/java/diablo-jre &lt;br /&gt;
# make install &lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 11:40, 12 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated before, Diablo-jre-1.3.1.0 can't make install or make deinstall.&lt;br /&gt;
&lt;br /&gt;
To be more specific:&lt;br /&gt;
&lt;br /&gt;
Result for make install: error message saying it's already installed.&lt;br /&gt;
&lt;br /&gt;
Result for deinstall: Error message saying it's not installed.&lt;br /&gt;
&lt;br /&gt;
I'm still clueless if Diablo is necessary or not to some or all install types, browser types, or if it's a linux-emulation thing, or whatever. What is Diablo? Do I really need it?&lt;br /&gt;
&lt;br /&gt;
If it's not 100% mandatory, how do I install java without the badly-installed Diablo getting in the way of java working in the browser (if that's my problem)?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== see also ==&lt;br /&gt;
&lt;br /&gt;
http://taosecurity.blogspot.com/2004_01_01_taosecurity_archive.html#107404060982021452&lt;br /&gt;
&lt;br /&gt;
Thanks, I'll try that next!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-12T14:15:31Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Boy, am I FreeBSD clueless.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
I added a slashdot comment on the new java license fiasco story. It links here. Dear wiki, brace for impact!!&lt;br /&gt;
&lt;br /&gt;
P.S.: we have spam in the main page at the bottom. How do wikis deal with those? Can we make the wiki auto-revert when certain spamlinks are added??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
I saw you link to the wiki, and I added you as a &amp;quot;friend&amp;quot; (jimbo's on my friends list as well,) and my story to OSNews.com didn't get published, so it's fair to say that it was rejected as well.&lt;br /&gt;
&lt;br /&gt;
The main problem with a simple &amp;quot;one script to install Java on FreeBSD&amp;quot; is that a) such a script would break the Sun License w/r/t Java -- this is the main reason there isn't a port for it, AFAIK -- and b) such a script would have to be really fucking complex to take into account all the different FreeBSD distros (4 series, 5.x series, various architectures etc) as well as checking that all the prereq's are available on your system. Also, there's no simple way to install all the files you have to download since you a) have to have a login to get to the Sun download page and b) have to get a bunch of stuff. If you were just able to download the files, a simple fetch or wget would suffice, but as it is, you have to login, agree to a license agreement and select which downloads to get. Downloading the files in to one central location is not an option for the sun license agreement(s). Sun might not be as big as Microsoft or as popular as Apple, but they're a big company that would be Very Unhappy if someone were to distribute their stuff without their consent. Large companies with lots of lawyers and piles of money are Not Fun when you piss them off.&lt;br /&gt;
&lt;br /&gt;
The closest you could really get is a script that printed &amp;quot;you need to get file12312-sadf-ix86.tar.bz2 before you can continue. Do you want to do this? You will need to login and download the file manually.&amp;quot; and if the user enters &amp;quot;yes&amp;quot;, do a &amp;quot;mozilla http://downloads.sun.com/java&amp;quot; or something. Added to the fact that it's not a sure thing that a given computer will have a GUI, much less a browser, much less mozilla specifically. If it were easy, the FreeBSD.org folks who do Java (and there seem to be a fair number of them,) would have done so. I'm not saying it's impossible, but it's a big PITA. You may be able to compile a package and distribute THAT, but I doubt it; I'm fairly sure that the blackdown and other java package maintainers are in the FreeBSD committers group(s) and as such are covered by the FreeBSD/Sun Java agreement.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 21:03, 7 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I never mean a port that illegally installs java without displaying a licence!!&lt;br /&gt;
&lt;br /&gt;
I mean a script - or some scripts - to do the technical grunt work those ports are leaving clueless users to do and point you exactly your errors as you make them so to avoid the 160+ hours of non-license-related technicalities I've been going thru as a simple user.&lt;br /&gt;
&lt;br /&gt;
The java install process is very far from smooth. I've learned tons of FreeBSD technicalities along the way, but I'm no closer to a working java in any browser than I was last week or the week before.&lt;br /&gt;
&lt;br /&gt;
I'd gladly install WINE and internet explorer on top if it would get java to work, but apparently this port is having config difficulties that annoys the pros so I won't try that...... yet.&lt;br /&gt;
&lt;br /&gt;
And sure, the license part is annoying and manual fetching of files at URL that no longer exist (version number changes - 10 minutes of aggravating guesswork) repeated 6 times as the port won't list all your needs at once is annoying but it's nothing compared to the actual install or linking to browser which is what we should have a port for.&lt;br /&gt;
&lt;br /&gt;
A &amp;quot;how to intall it&amp;quot; documentation port would be welcome if even a script pointing you the newbie-invisible mistakes that don't leave error messages would have legal problems (I don't see how).&lt;br /&gt;
&lt;br /&gt;
As for the varieties of BSDs out there and browsers, why not have a port that does just any browser the port-maker prefers and the latest BSD as an example of what to do? I haven't seen a complete walkthru for any browser whatsoever (so I'm never sure if the 7 incomplete install instructions I have all get the same omission). The recent license pull by JAVA has even affected my option to go back for old binaries...&lt;br /&gt;
&lt;br /&gt;
And sorry for being french, what's &amp;quot;PITA&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-12T14:13:10Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
I added a slashdot comment on the new java license fiasco story. It links here. Dear wiki, brace for impact!!&lt;br /&gt;
&lt;br /&gt;
P.S.: we have spam in the main page at the bottom. How do wikis deal with those? Can we make the wiki auto-revert when certain spamlinks are added??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
I saw you link to the wiki, and I added you as a &amp;quot;friend&amp;quot; (jimbo's on my friends list as well,) and my story to OSNews.com didn't get published, so it's fair to say that it was rejected as well.&lt;br /&gt;
&lt;br /&gt;
The main problem with a simple &amp;quot;one script to install Java on FreeBSD&amp;quot; is that a) such a script would break the Sun License w/r/t Java -- this is the main reason there isn't a port for it, AFAIK -- and b) such a script would have to be really fucking complex to take into account all the different FreeBSD distros (4 series, 5.x series, various architectures etc) as well as checking that all the prereq's are available on your system. Also, there's no simple way to install all the files you have to download since you a) have to have a login to get to the Sun download page and b) have to get a bunch of stuff. If you were just able to download the files, a simple fetch or wget would suffice, but as it is, you have to login, agree to a license agreement and select which downloads to get. Downloading the files in to one central location is not an option for the sun license agreement(s). Sun might not be as big as Microsoft or as popular as Apple, but they're a big company that would be Very Unhappy if someone were to distribute their stuff without their consent. Large companies with lots of lawyers and piles of money are Not Fun when you piss them off.&lt;br /&gt;
&lt;br /&gt;
The closest you could really get is a script that printed &amp;quot;you need to get file12312-sadf-ix86.tar.bz2 before you can continue. Do you want to do this? You will need to login and download the file manually.&amp;quot; and if the user enters &amp;quot;yes&amp;quot;, do a &amp;quot;mozilla http://downloads.sun.com/java&amp;quot; or something. Added to the fact that it's not a sure thing that a given computer will have a GUI, much less a browser, much less mozilla specifically. If it were easy, the FreeBSD.org folks who do Java (and there seem to be a fair number of them,) would have done so. I'm not saying it's impossible, but it's a big PITA. You may be able to compile a package and distribute THAT, but I doubt it; I'm fairly sure that the blackdown and other java package maintainers are in the FreeBSD committers group(s) and as such are covered by the FreeBSD/Sun Java agreement.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 21:03, 7 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I never mean a port that illegally installs java without displaying a licence!!&lt;br /&gt;
&lt;br /&gt;
I mean a script - or some scripts - to do the technical grunt work those ports are leaving clueless users to do and point you exactly your errors as you make them so to avoid the 160+ hours of non-license-related technicalities I've been going thru as a simple user.&lt;br /&gt;
&lt;br /&gt;
The java install process is very far from smooth. I've learned tons of FreeBSD technicalities along the way, but I'm no closer to a working java in any browser than I was last week or the week before.&lt;br /&gt;
&lt;br /&gt;
I'd gladly install WINE and internet explorer on top if it would get java to work, but apparently this port is having config difficulties that annoys the pros so I won't try that...... yet.&lt;br /&gt;
&lt;br /&gt;
And sure, the license part is annoying and manual fetching of files at URL that no longer exist (version number changes - 10 minutes of aggravating guesswork) repeated 6 times as the port won't list all your needs at once is annoying but it's nothing compared to the actual install or linking to browser which is what we should have a port for.&lt;br /&gt;
&lt;br /&gt;
A &amp;quot;how to intall it&amp;quot; documentation port would be welcome if even a script pointing you the newbie-invisible mistakes that don't leave error messages would have legal problems (I don't see how).&lt;br /&gt;
&lt;br /&gt;
As for the varieties of BSDs out there and browsers, why not have a port that does just mozilla and the latest BSD as an example of what to do? I haven't seen a complete walkthru for any browser whatsoever. The recent license pull by JAVA has even affected my option to go back for old binaries...&lt;br /&gt;
&lt;br /&gt;
And sorry for being french, what's &amp;quot;PITA&amp;quot;?&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-12T13:48:53Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This didn't help!!&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== to make a long story much shorter ==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated befire, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete or make install or make deinstall - in all cases I get errors saying it's installed - or not installed. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options (and yes I used rehash). Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-12T13:36:43Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This didn't help!!&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== to make a long story much shorter ==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
 --install linux compat via sysinstall&lt;br /&gt;
 --add the linprocfs line to /etc/fstab&lt;br /&gt;
 --kldload etcetcetc&lt;br /&gt;
 --install the linux java port?&lt;br /&gt;
&lt;br /&gt;
=== what relax did:==&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;br /&gt;
&lt;br /&gt;
== so wait ==&lt;br /&gt;
&lt;br /&gt;
which mozilla are you using? the linux-mozilla port or the native BSD? the ln -s between the JRE and the mozilla will only work if both are either native or both are linux ports.&lt;br /&gt;
&lt;br /&gt;
from your description, what you did is what you're supposed to. ln -s &amp;lt;Java plugin.so PATH&amp;gt; &amp;lt;mozilla directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
although....if you installed the linux-moz and you had the freebsd moz installed already, you may have copied the file to the wrong direcotry....find out where the linux mozilla port installed to -- could be /usr/local/somethingsomething/something ...you might be able to find out with [[pkg_info]].&lt;br /&gt;
&lt;br /&gt;
also, the diablo JDK does not install with pkg_add -- I was wrong about that. you need to download that to /usr/ports/distfiles and then go into /usr/ports/java/diablo-jdk (or whatever the dir is,) and do a make install there. (DO NOT UNTAR/UNZIP the tgz btw). let me know how that works out for you.&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]] 20:04, 11 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
As I stated befire, Diablo-jre-1.3.1.0 can't be pkg_add or pkg_delete. The comment is listed as &amp;quot;???&amp;quot; in pkg_info. I'm not even sure diablo-jre is or isn't part of the install as jre-1.1.8 is installed to. Which JRE is the good one?&lt;br /&gt;
&lt;br /&gt;
I've spend 34 hours already trying the possible permutations of that &amp;quot;ls -s &amp;lt;etc&amp;gt;&amp;quot; command and didn't find the right one - and I'm out of options. Even if I had the right one how do I recognize it if there is still a bug or missing step somewhere??&lt;br /&gt;
&lt;br /&gt;
What I really, really need is a clean walkthru as I've now got 7 incomplete and unclear ones who contradict each other and the combinaisons of possibilities have all been tried - there must be a small step missing or the diablo problem is preventing java from working.&lt;br /&gt;
&lt;br /&gt;
If I reach my 10th install from scratch to see if I can't get it right this time and still fail (currently: 8th) I'll simply have to let go of a nice job offer involving java beta testing ... *shudder*&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-11T17:19:20Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Exact steps&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This didn't help!!&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== to make a long story much shorter ==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== not following you ==&lt;br /&gt;
&lt;br /&gt;
what order did you do this in?&lt;br /&gt;
&lt;br /&gt;
--install linux compat via sysinstall&lt;br /&gt;
--add the linprocfs line to /etc/fstab&lt;br /&gt;
--kldload etcetcetc&lt;br /&gt;
--install the linux java port?&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
1. install linux compat via sysinstall (unsure of success)&lt;br /&gt;
2. add the linprocfs line to /etc/fstab&lt;br /&gt;
3. kldload etcetcetc  (as per make install message I get when I compile)&lt;br /&gt;
4. install the linux java port&lt;br /&gt;
5. install the jdk14&lt;br /&gt;
6. follow the unclear, incomplete instruction that seem to want a ln between mozilla and the JRE:&lt;br /&gt;
&lt;br /&gt;
 cd &amp;lt;Mozilla&amp;gt;/plugins&lt;br /&gt;
 ln -s &amp;lt;JRE&amp;gt;/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .&lt;br /&gt;
&lt;br /&gt;
And starting mozilla gets me the error message I mentionned.&lt;br /&gt;
&lt;br /&gt;
How do I verify step 1 is done OK, knowing I don't get compile errors?&lt;br /&gt;
&lt;br /&gt;
What am I expected to do in step 6, exactly? Link mozilla? Link linux-mozilla? In /usr/X11R6/include/mozilla/plugin or elsewhere? And once I've done that, do I start mozilla or linux-mozilla or linux-mozillafirebird or what? Exact commands are needed, the 6 walkthrus I've read are all unclear and inconsistent on what to do on step 6 and what browser can or can't run java.&lt;br /&gt;
&lt;br /&gt;
And what is diablo-latte (which I messed up apparently, as it can't be pkg_add or pkg_delete or deinstall or install)? Does that interfer?&lt;br /&gt;
&lt;br /&gt;
P.S.: I'm using the 1.4.2_02 version, in theory, as the 1.4.2_06 compile simply dumps core without explanation of any kind.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-10T17:07:59Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: formattng&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This didn't help!!&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== to make a long story much shorter ==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin: failed to initialize shared library&lt;br /&gt;
 /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so&lt;br /&gt;
 [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Java</id>
		<title>Talk:Java</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Java"/>
				<updated>2005-01-10T17:05:38Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Java error message&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This didn't help!!&lt;br /&gt;
&lt;br /&gt;
I'm just trying to have simple java application run in mozilla or linux-mozilla (whichever works first) but the about plugins refuses to list java for some reason despite the symlink. I don't need the whole SDK.&lt;br /&gt;
&lt;br /&gt;
I've installed linux-mozilla and the jre and everything else. Flash works fine by the way, I don't see which step Java requires that Flash didn't...&lt;br /&gt;
&lt;br /&gt;
I've been at this for weeks, but now I've got internet to help me finally! Except another 2 days was fruitless.&lt;br /&gt;
&lt;br /&gt;
If I get that last step to work I promise a full walkthru in the wiki. But for now, I'm 100% stumped.&lt;br /&gt;
&lt;br /&gt;
For your info, I'm a bottom feeder rookie on FreeBSD (i.e. a traumatized Windoze regugee). Detailed explanations are welcome.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== to make a long story much shorter ==&lt;br /&gt;
&lt;br /&gt;
You need a working java compiler to compile java on a freebsd system. so the work around is to install the linux jdk, add the files that building java requires (in /usr/ports/distfiles -- all those files that the webpage says to install) and then go into /usr/ports/java/jre (or jdk14 or whatever) and build it. It takes a) a long time and b) a lot of diskspace. I understand that if you install the linux browser (instead of compiling mozilla/firefox from ports or using freebsd pkg) you can also use the linux java jre with it. &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
Can you say that in terms of what the exact things to type are?&lt;br /&gt;
&lt;br /&gt;
What is linux-mozilla and its difference from mozilla? Is that what I need?&lt;br /&gt;
&lt;br /&gt;
In any case the &amp;quot;enable&amp;quot; step seems not to work at all. The plugin listing won't show java.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== also ==&lt;br /&gt;
&lt;br /&gt;
see this link form the newbies mailing list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=107129+112090+/usr/local/www/db/text/2004/freebsd-newbies/20041107.freebsd-newbies&lt;br /&gt;
&lt;br /&gt;
you may fare better by installing one of the diablo binaries: http://www.freebsdfoundation.org/downloads/java.shtml&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Diablo:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;These binaries are not intended for use with FreeBSD 5.x, due to a binary compatibility issue we are working with the FreeBSD release engineering team to resolve.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
so I can't use that. I'll check the newbie thing. Thanks!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== in which case, ==&lt;br /&gt;
&lt;br /&gt;
it would seem (from what i've read) that your only option is to either use the linux mozilla and linux java on your freebsd5 system, or install the linux jdk so that you can make a freebsd jdk so that you can THEN compile the JRE native for your system. (althogh once you've got the JDK, you can stop there, obviously -- you'd only need to build the jre if you wanted to delete the jdk afterwards.)&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Linux&amp;quot; ports ==&lt;br /&gt;
&lt;br /&gt;
FYI, anything you see in the ports labeled &amp;quot;linux-[something]&amp;quot; is a &amp;quot;fake port&amp;quot; - it's not really something you'll compile locally, typically, it's a distributed binary which expects to be run under a Linux system, that will be run by your system under the Linux Binary Compatibility layer.  (Which you'll want to make sure you have installed, if you need to run any linux binaries.  Natch.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 11:00, 28 Dec 2004 (PST)&lt;br /&gt;
&lt;br /&gt;
== yes, ==&lt;br /&gt;
&lt;br /&gt;
this being the reason you need to install a linux java before you can make your freebsd native version; building the java jdk/jre requires...wait for it...a working java jdk. which you won't have. so you need to use the linux version under the linux emulation layer (which is why you have the &amp;quot;kldload procfs&amp;quot; lines in the quick &amp;amp; dirty howto on the [[Java]] page). After you've used it to make your java that runs native on freebsd (without linux emulation,) you can deinstall the linux-java and hell, even make a package from it on that system and copy it over vis NFS or scp or whatever to other systems. (as the author of the taosecurity site I linked to on the [[Java]] page did, incidentally.) &lt;br /&gt;
&lt;br /&gt;
[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
== Linux base 7 won't do java ==&lt;br /&gt;
&lt;br /&gt;
My Linux base 7 isn't compatible with java for mozilla if I get it correctly.&lt;br /&gt;
&lt;br /&gt;
And what's that flashwrapper thing???&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
== did you install linux compatibility and load procfs ? ==&lt;br /&gt;
&lt;br /&gt;
%cd /usr/ports/java/linux-sun-jdk14&lt;br /&gt;
&lt;br /&gt;
%make install&lt;br /&gt;
===&amp;gt;  linux-sun-jdk-1.4.2.05 ''You must manually fetch the J2SE SDK self-extracting file for the Linux platform (j2sdk-1_4_2_05-linux-i586.bin) from http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&amp;amp;PartDetailId=j2sdk-1.4.2_05-oth-JPR&amp;amp;SiteId=JSC&amp;amp;TransactionId=noreg, place it in /usr/ports/distfiles and then run make again.''&lt;br /&gt;
&lt;br /&gt;
%more pkg-message&lt;br /&gt;
....======================================================================&lt;br /&gt;
Warning: This JDK may be unstable. You are advised to use the native&lt;br /&gt;
FreeBSD JDK, in ports/java/jdk14.&lt;br /&gt;
&lt;br /&gt;
This Java VM will attempt to obtain some system information by&lt;br /&gt;
accessing files in linux's procfs.  You must install the Linux&lt;br /&gt;
emulation procfs filesystem for this to work correctly.  The JVM&lt;br /&gt;
will exhibit various problems otherwise.  This can be accomplished&lt;br /&gt;
by adding the following line to your /etc/fstab file:&lt;br /&gt;
&lt;br /&gt;
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0&lt;br /&gt;
&lt;br /&gt;
and then, as root, executing the commands:&lt;br /&gt;
&lt;br /&gt;
kldload linprocfs&lt;br /&gt;
mount /compat/linux/proc&lt;br /&gt;
&lt;br /&gt;
.....======================================================================&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I get this:&lt;br /&gt;
&lt;br /&gt;
%&lt;br /&gt;
LoadPlugin: failed to initialize shared library /usr/home/relax/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so [Shared object &amp;quot;libdl.so.2&amp;quot; not found]&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
What's the problem?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-07T21:40:08Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I added a slashdot comment on the new java license fiasco story. It links here. Dear wiki, brace for impact!!&lt;br /&gt;
&lt;br /&gt;
P.S.: we have spam in the main page at the bottom. How do wikis deal with those? Can we make the wiki auto-revert when certain spamlinks are added??&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Package</id>
		<title>Package</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Package"/>
				<updated>2005-01-07T21:38:53Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Package - stub&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A package is a port that has been pre-compiled for maximum compability and speed of install. As a result you can't change the compile options and they usually don't run as fast as ports.&lt;br /&gt;
&lt;br /&gt;
Sometimes a package is a good alternative to a port when the port or one of its dependencies is broken; or when you just need something installed very quick.&lt;br /&gt;
&lt;br /&gt;
Packages are added with the command [[Pkg add]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Pkg_add</id>
		<title>Pkg add</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Pkg_add"/>
				<updated>2005-01-07T21:33:30Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: link packages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Package add -- part of the pkg tools that allow you to install [[package]]s (contrast with [[Install_from_ports]])&lt;br /&gt;
&lt;br /&gt;
Common flags:&lt;br /&gt;
 -r fetch remote package&lt;br /&gt;
 -f force install &lt;br /&gt;
 -n don't install, just tell what would happen if I ran this command&lt;br /&gt;
 -v verbose&lt;br /&gt;
 -I don't run any install scripts that come with the package&lt;br /&gt;
 -p ''/this/dir/here'' install in ''/this/dir/here''&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Main_Page"/>
				<updated>2005-01-07T02:02:01Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Spam removal by hand. I fear we'll need a script soon...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to FreeBSDwiki.net.'''&lt;br /&gt;
&lt;br /&gt;
This is a fledgling wikipedia devoted primarily to common issues faced by new and veteran FreeBSD administrators.  The goal is to create a common knowledge store which could also be referred to as &amp;quot;FreeBSD for the Impatient&amp;quot;, in other words, a place where it is easy to delve straight into simple answers about common needs and problems relating to both FreeBSD servers and their integration into other types of networks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[Special : Categories | Categories]]:'''&lt;br /&gt;
&lt;br /&gt;
# [[:Category : Why FreeBSD? |Why FreeBSD?]]&lt;br /&gt;
# [[:Category : Installation |Installing FreeBSD]]&lt;br /&gt;
# [[:Category : Architecture-Specific |Architecture-Specific]]&lt;br /&gt;
# [[:Category : Configuring FreeBSD |Configuring FreeBSD]]&lt;br /&gt;
# [[:Category : Important Config Files |Important Config Files]]&lt;br /&gt;
# [[:Category : System Commands |System Commands]]&lt;br /&gt;
# [[:Category : Common Tasks |Common Tasks]]&lt;br /&gt;
# [[:Category : FreeBSD for Workstations | FreeBSD for Workstations]] &lt;br /&gt;
# [[:Category : Ports and Packages|Ports and Packages]]&lt;br /&gt;
# [[:Category : FreeBSD Terminology |FreeBSD Terminology]]&lt;br /&gt;
# [[:Category : Windows Equivalents |Windows Equivalents]]&lt;br /&gt;
# [[:Category : Cygwin |Cygwin]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please feel free to register and contribute!  If you need a little help figuring out how to add articles or categories, please see [[Help:Adding Content]].  If you would like some basic guidelines on how to format your article, see [[Help:Style Guidelines]].&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-07T01:48:45Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: we're spammed!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I added a slashdot comment on the new java license fiasco story. It links here. Dear wiki, brace for impact!!&lt;br /&gt;
&lt;br /&gt;
P.S.: we have spam in the main page at the bottom. How do wikis deal with those?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-07T00:34:33Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: slashdot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
I added a slashdot comment on the new java license fiasco story. It links here. Dear wiki, brace for impact!!&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Ee</id>
		<title>Talk:Ee</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Ee"/>
				<updated>2005-01-05T07:29:59Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;it's harder than Nano if you don't have documentation&amp;quot; edit rolled back because it's subjective and very much not universally true.  I personally found ee considerably easier to use than nano, with neither documentation nor experience with either (mostly because of the layout of the &amp;quot;control hints&amp;quot; in ee), and still prefer it after some experience with both.  --[[User:Jimbo|Jimbo]] 01:39, 5 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
Rollback accepted! Sorry for the subjectivity.&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Talk:Ee</id>
		<title>Talk:Ee</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Talk:Ee"/>
				<updated>2005-01-05T07:29:24Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Rollback accepted!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;it's harder than Nano if you don't have documentation&amp;quot; edit rolled back because it's subjective and very much not universally true.  I personally found ee considerably easier to use than nano, with neither documentation nor experience with either (mostly because of the layout of the &amp;quot;control hints&amp;quot; in ee), and still prefer it after some experience with both.  --[[User:Jimbo|Jimbo]] 01:39, 5 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
Rollback accepted! Sorry for the subjectivity.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Emacs</id>
		<title>Emacs</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Emacs"/>
				<updated>2005-01-04T17:07:23Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: shortcuts&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[emacs]] written by Richard M. Stallman, is a text editor on crack. It has many modules -- sort of like plug-ins -- that allow you to do all sorts of stuff while still editing (e.g., checking your email.) It is difficult to learn to use for most, but those who do often grow enamored of it's versatility.&lt;br /&gt;
&lt;br /&gt;
== List of Emacs shortcuts ==&lt;br /&gt;
&lt;br /&gt;
stub - how do I do a shortcut for search string?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other text editors: [[vi]], [[joe]], [[ee]] (aka [[edit]]), [[nano]] and [[pico]].&lt;br /&gt;
&lt;br /&gt;
[[Category : Ports and Packages]]&lt;br /&gt;
[[Category : System Commands]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Ee</id>
		<title>Ee</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Ee"/>
				<updated>2005-01-04T17:05:45Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ee - easy editor. The default editor for FreeBSD, not unlike [[nano]] in that it uses a text-menu interface with hotkeys (e.g., control-Q, etc.) however it is harder to learn than Nano if you don't have any documentation or experience.&lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Category:Newbie_Friendly</id>
		<title>Category:Newbie Friendly</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Category:Newbie_Friendly"/>
				<updated>2005-01-04T17:04:05Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: newbie friendly tools&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Stub. There should be a Newbie Friendly category to make sure newbies have access to a list of easy to use tools centralized in a single page.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Nano</id>
		<title>Nano</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Nano"/>
				<updated>2005-01-04T17:02:20Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: category: newbie friendly&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[nano]] is a text editor, like vi or emacs, but less arcane for the newbie. Probably as close as you're going to get (in a text-only editor) to the hot-key combination in other GUI-driven editors (ie, control-Q for quit, etc.) [[nano]] is basically an updated [[pico]] and replaces/replaced [[pico]] on many systems that have/had it. Since the key combinations are visible at the bottom of whatever screen you're on, all you really need to know is that the caret (the '''^''' character) means &amp;quot;press the control key at the same time as the other letter&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
See also [[vi]], [[ee]] (commonly aliased under FreeBSD as &amp;quot;[[edit]]&amp;quot;), [[joe]], [[nano]], [[pico]] or [[emacs]].&lt;br /&gt;
&lt;br /&gt;
[[Category : Ports and Packages]]&lt;br /&gt;
[[Category : System Commands]]&lt;br /&gt;
[[Category : Newbie Friendly]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/Su</id>
		<title>Su</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Su"/>
				<updated>2005-01-04T17:00:48Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: security tip&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[su]] is acronymic for '''switch user''' -- if no username is supplied to /sbin/su the [[super-user]] account is assumed, and is the system command used under FreeBSD and other unix-like operating systems to change your [[user context]] without having to log out and log back in as a different user.&lt;br /&gt;
&lt;br /&gt;
If you just type in [[su]] at the shell prompt and do not supply an argument, [[su]] assumes that you are asking to change context to [[root]].  Attempting to assume [[root]] context is something of a special case under FreeBSD - unlike many other unix-like operating systems, just having the root password is not enough!  FreeBSD's default behavior is to only allow users who are members of the special group [[wheel]] the privilege of [[su]]-ing to [[root]].  If you ''are'' a member of [[wheel]], you will be presented with a password challenge; if not, you will simply be told &amp;quot;sorry.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
However, [[su]] is useful for more than just assuming [[root]] context.  You can assume ''any'' user context with the [[su]] application, making it an excellent troubleshooting tool to instantly check on any permissions or other security-related issues as well as issues related to the user-specific shell environment.  Simply supply [[su]] the name of the user whose context you want to assume as an argument; if you are already [[root]] it will quietly do so without asking for a password.  If you are ''not'' root and you ask to [[su]] to a non-[[root]] user, it will allow you attempt to, but will require you to supply that user's password before actually changing context.&lt;br /&gt;
&lt;br /&gt;
One thing to remember about using [[su]] to change [[user context]] is that it actually opens a [[shell]] without ever closing your old one - so when you're tired of being whoseever identity you have taken with [[su]], simply [[exit]] to get back to your old shell. If the &amp;quot;-&amp;quot; switch is passed to [[su]] then a new shell is opened, using any [[shell]] configuration file ([[.profile]], [[.cshrc]], etc) in the root account's home directory. If no &amp;quot;-&amp;quot; switch is passed to [[su]], it will use the shell configuration file of the user you [[su]]'d from (assuming sanity: if the originating user is using .bashrc and the root user is using .tcshrc, the .bashrc file won't be used.)&lt;br /&gt;
&lt;br /&gt;
It is somewhat sloppy, but convenient on reasonably resourceful machines, to occasionally just [[su]] to your own user context rather than logging off and back on again in order to make a user environment change immediately active; for instance after altering or placing new files in your [[PATH|directory path]].&lt;br /&gt;
&lt;br /&gt;
User accounts who have su disabled are less vulnerable to certain [[rootkit]]s, but it can also be inconvenient. This is why some users have a personal account (no su allowed, a bit safer if you frequent seedy web sites) separate from their work account where getting the job done quickly (su allowed) and not taking risks has priority.&lt;br /&gt;
&lt;br /&gt;
==Common Flags==&lt;br /&gt;
 - see -l below&lt;br /&gt;
 -l will give you a new login shell. On most systems, this is assumed, &lt;br /&gt;
    but using the flag will ensure that you don't get made root with a &lt;br /&gt;
    shell you're not expecting.&lt;br /&gt;
 -m &amp;quot;leave me alone, just make me root&amp;quot;. You'll stay in your current &lt;br /&gt;
    directory, have your current [[PATH]] and shell stay the same.&lt;br /&gt;
 -c change the class of a command. This is complex and will not be used &lt;br /&gt;
    by novices, but if you need to run commands limited by user group &lt;br /&gt;
    class or limited to the abilities of a particular user, it can be &lt;br /&gt;
    useful. Consult the manpage for more details.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Category:System Commands]]&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/User:Simon</id>
		<title>User:Simon</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User:Simon"/>
				<updated>2005-01-04T16:45:11Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: /* Projects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simon Blanchard, aka &amp;quot;relax&amp;quot;, is a new FreeBSD user, and a Windoze refugee currently living in Montreal, Quebec, Canada.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
&lt;br /&gt;
He's an expert on C, very competent in C++, competent with VBS script under softimage|XSI, XSI format, OBJ format, 3DS format, maya scripts and format, I have dabbled in openGL and has done extensive work in the field of graphic file format conversions and making script engines.&lt;br /&gt;
&lt;br /&gt;
I'm also good at writing small technical manuals for various types of users. I've written 2 introduction classes to applications and numerous walkthrus or intros for newbies. I can translate technical manuals to french.&lt;br /&gt;
&lt;br /&gt;
I've done some SQL databases, mostly in Access.&lt;br /&gt;
&lt;br /&gt;
I have a continuing interest in extreme programming, MFC, reverse-engineering, and game design.&lt;br /&gt;
&lt;br /&gt;
=== ...and lack thereof ===&lt;br /&gt;
&lt;br /&gt;
However, my Unix/BSD skills are in need of some help!&lt;br /&gt;
&lt;br /&gt;
For example, how do I duplicate the functionality of various IE's plugins (especially java) in Mozilla is still beyond me. And trying to do it securely too because Moon-sized java security holes are part of what made me quit Windows...&lt;br /&gt;
&lt;br /&gt;
=== Projects ===&lt;br /&gt;
&lt;br /&gt;
-Help do a windoze refugee survival kit for mozilla plugins and getting those WMV files to work more than half the time. Ideally that would be like typing &amp;quot;make install&amp;quot; and clicking &amp;quot;yes&amp;quot; at a license prompt that appears immediately (NOT after a few minutes) - then it would work immediately after the compile.&lt;br /&gt;
&lt;br /&gt;
-Get a job. Any kind of programming or technical translation job if pay is OK or if the project is more interesting than accounting (yawn). I like free projects too, in fact I've been debugging the tome port for a while.&lt;br /&gt;
&lt;br /&gt;
=== Current need for help ===&lt;br /&gt;
&lt;br /&gt;
I have FreeBsd 5.2 (who doesn't like java binaries older BSD were happy with) and linuxbase 7 (which doesn't like java on mozilla).&lt;br /&gt;
&lt;br /&gt;
I've been trying to install java in any shape or form in any browser, but had no success. It has been 3 weeks now, with no other goals in mind.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/User:Simon</id>
		<title>User:Simon</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/User:Simon"/>
				<updated>2005-01-04T16:36:52Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Hey this is starting to look like a resume!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simon Blanchard, aka &amp;quot;relax&amp;quot;, is a new FreeBSD user, and a Windoze refugee currently living in Montreal, Quebec, Canada.&lt;br /&gt;
&lt;br /&gt;
=== Skills ===&lt;br /&gt;
&lt;br /&gt;
He's an expert on C, very competent in C++, competent with VBS script under softimage|XSI, XSI format, OBJ format, 3DS format, maya scripts and format, I have dabbled in openGL and has done extensive work in the field of graphic file format conversions and making script engines.&lt;br /&gt;
&lt;br /&gt;
I'm also good at writing small technical manuals for various types of users. I've written 2 introduction classes to applications and numerous walkthrus or intros for newbies. I can translate technical manuals to french.&lt;br /&gt;
&lt;br /&gt;
I've done some SQL databases, mostly in Access.&lt;br /&gt;
&lt;br /&gt;
I have a continuing interest in extreme programming, MFC, reverse-engineering, and game design.&lt;br /&gt;
&lt;br /&gt;
=== ...and lack thereof ===&lt;br /&gt;
&lt;br /&gt;
However, my Unix/BSD skills are in need of some help!&lt;br /&gt;
&lt;br /&gt;
For example, how do I duplicate the functionality of various IE's plugins (especially java) in Mozilla is still beyond me. And trying to do it securely too because Moon-sized java security holes are part of what made me quit Windows...&lt;br /&gt;
&lt;br /&gt;
=== Projects ===&lt;br /&gt;
&lt;br /&gt;
-Help do a windoze refugee survival kit for mozilla plugins and getting those WMV files to work more than half the time. Ideally that would be like typing &amp;quot;make install&amp;quot; and clicking &amp;quot;yes&amp;quot; at a license prompt that appears immediately (NOT after a few minutes) - then it would work immediately after the compile.&lt;br /&gt;
&lt;br /&gt;
-Get a job. Any kind of programming or technical translation job if pay is OK or if the project is more interesting than accounting (yawn).&lt;br /&gt;
&lt;br /&gt;
=== Current need for help ===&lt;br /&gt;
&lt;br /&gt;
I have FreeBsd 5.2 (who doesn't like java binaries older BSD were happy with) and linuxbase 7 (which doesn't like java on mozilla).&lt;br /&gt;
&lt;br /&gt;
I've been trying to install java in any shape or form in any browser, but had no success. It has been 3 weeks now, with no other goals in mind.&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-04T16:16:21Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-04T16:16:04Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
---&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal</id>
		<title>FreeBSDwiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/FreeBSDwiki:Community_Portal"/>
				<updated>2005-01-04T16:15:39Z</updated>
		
		<summary type="html">&lt;p&gt;Simon: Having a story on slashdot or other sites. Please help.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What's this page for?&lt;br /&gt;
&lt;br /&gt;
BSD-related links in general? &lt;br /&gt;
&lt;br /&gt;
I wouldn't mind some BSD wallpapers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I would appreciate some information in the commands section on process and file locking:&lt;br /&gt;
locating/tracking down locked files and processes.  I would also appreciate some extra info&lt;br /&gt;
on what commands to use to unlock resources that remain locked after a program abnormally terminates.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Can you give me a little more background info on this?  I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing.  Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files.  Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..&lt;br /&gt;
&lt;br /&gt;
So, yeah, can you give us more info about what you're having trouble with exactly?&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 21:43, 17 Nov 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.&lt;br /&gt;
&lt;br /&gt;
-dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
you can use [[lsof]] to see what files are open....&lt;br /&gt;
&lt;br /&gt;
--[[User:Dave|Dave]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
I have installed Hylafax and tried to set it up.  For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom.  I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one.  I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hrm.  I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago.  What user context is your app running under?  It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 16:08, 2 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hylafax has configuration files for its demons.  They are similar to other allow/deny files, like, say, lpd's.  All of those have been set up properly, as far as I can tell.&lt;br /&gt;
&lt;br /&gt;
-- Joe B. --&lt;br /&gt;
&lt;br /&gt;
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.&lt;br /&gt;
&lt;br /&gt;
Dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Can we have a page for problem ports like [[java]] and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
not a bad idea -- i don't understand what you mean by &amp;quot;a small page to present user&amp;quot; since users of the wiki do have their own pages...click on jimbo's name (or [[User:Dave|Dave]]) for an example.&lt;br /&gt;
&lt;br /&gt;
dave&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool - but where is the page that points at the users?&lt;br /&gt;
&lt;br /&gt;
Relax&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Special:Listusers]]&lt;br /&gt;
&lt;br /&gt;
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red &amp;quot;nowiki&amp;quot; icon and the solid line icon?  That's the signature icon, handy for Talk pages like this one, because it does this for you:&lt;br /&gt;
&lt;br /&gt;
--[[User:Jimbo|Jimbo]] 13:03, 24 Dec 2004 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should we post a story to slashdot so we can get more users?&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Fine by me.  Hell, I'm advertising the thing on Google's adsense, what's wrong with ''free'' publicity? =)  --[[User:Jimbo|Jimbo]] 01:19, 4 Jan 2005 (EST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...&lt;br /&gt;
&lt;br /&gt;
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!&lt;br /&gt;
&lt;br /&gt;
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.&lt;br /&gt;
&lt;br /&gt;
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple &amp;quot;make install&amp;quot; from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.&lt;br /&gt;
&lt;br /&gt;
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;&lt;br /&gt;
&lt;br /&gt;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).&lt;br /&gt;
&lt;br /&gt;
[[User:Simon|relax]]&lt;br /&gt;
---&lt;/div&gt;</summary>
		<author><name>Simon</name></author>	</entry>

	</feed>