I tried to find the specs document for the very first Java virtual machine created at Sun Microsystems, but I can find up to Java 6. Any ideas?
Related
I am working on a project on distributed systems using MPI (Message Passing Interface). I need multiple systems for the simulation but I have only one system. How can I install a virtual machine on my system which will serve the purpose?
Operating System: Ubuntu 15.04
I don't know much about the multiple machines but you could use the VMWar or virtual Box , or else there is a functionality that allows two systems on single machine
You can use Virtual box to run multiple OS at a time.
Please refer my blog for more info:
http://trainenv.blogspot.in/2016/03/creating-virtual-machine-in-virtual-box.html
I am trying to install Solr 4.6 with Drupal 7. For some reason, I am not able to. Probably, I am trying to install it on a remote server (my website server).
Here are the steps I am doing:-
Download Apache Solr Drupal Module from here and placed it in my Drupal modules folder (sites/all/modules/)
Enabled Apache Solr search and Apache Solr framework modules in admin/modules
Downloaded Apache Solr 4.2 from http://www.dsgnwrld.com/am/lucene/solr/4.6.0/
Unpack it outside my drupal installation and outside my web root/folder. (~/srv/www/solr)
Went to sites/all/modules/apachesolr/solr-conf/solr-4.x and copied all files to ~/srv/www/solr/example/solr/conf
I am stuck after this. I know I have to access my server at this address ~/srv/www/solr/example through command prompt (Terminal) to start the Apache Service but how can I do that?
Plus, on the site, it's written that I can access the Solr admin interface by visiting
http://localhost:8983/solr/admin, but how can I do that when my site is located on a remote server?
Please help.
Thanks.
I believe you have solr 4.6 (rather than 4.2) from the link you presented but the steps are the same for both.
Although Solr can run in any Java Servlet Container of your choice, the example index includes a small installation of Jetty.
To launch Jetty with the Solr WAR, and the example configs, just run the start.jar ...
user:~$ cd ~/srv/www/solr/example
user:~/srv/www/solr/example$ java -jar start.jar
At that point the server should be listening on 0.0.0.0:8983.
You can then access this server using http://remote.ip.or.hostname:8983/solr/admin (ex. http://8.8.8.8:8983/solr/admin)
You may want to consult the tutorial in the docs for further information.
I have a question about weblogic:
I have a weblogic instance that runs on jdk, and I have applications deployed on this server (.war files).
If I change the startup parameters and I tell it that runs on jrockit, are the applications (.war files) deployed in it compatibles?, or must I mantain the original jdk?.
Thank you very much.
The SUN JDK and BEA Jrockit are both compatible to each other when it comes to running standard Java code. To give an example, weblogic server itself is Java code which can run on sun JDK and Jrockit. similarly your .war application will work just fine in both the JVM's
What different between these JVM's is the way they do garbage collection for example, or code compression options and so on. Though the difference is getting blurred each passing day as both are owned by Oracle now.
Why didn't StarTeam 2008 Release 2 Client install correctly on my machine? Whenever I try to launch it, I get a “Could not create the Java virtual machine” error.
Rather than being a problem locating the Java Virtual Machine, as I’d previously thought, turns out it’s a memory allocation issue.
In StarTeamCP.stjava, the default option set is -Xmx1024m. My machine doesn’t have a gig of RAM to spare for a Java VM, hence the error.
By setting it to -Xmx512m, I was able to get up and running.
See also my blog entry about this.
What I would like to do is create a clean virtual machine image as the output of a build of an application.
So a new virtual machine would be created (from a template is fine, with the OS installed, and some base software installed) --- a new web site would be created in IIS, and the web app build output copied to a location on the virtual machine hard disk, and IIS configured correctly, the VM would start up and run.
I know there are MSBuild tasks to script all the administrative actions in IIS, but how do you script all the actions with Virtual machines? Specifically, creating a new virtual machine from a template, naming it uniquely, starting it, configuring it, etc...
Specifically I was wondering if anyone has successfully implemented any VM scripting as part of a build process.
Update: I assume with Hyper-V, there is a different set of libraries/APIs to script virtual machines, anyone played around with this? And anyone with real practical experience of doing something like this?
Checkout Powershell Management library for Hyper-V on CodePlex. Some features:
Finding a VM
Connecting to a VM
Discovering and manipulating Machine states
Backing up, exporting and snapshotting VMs
Adding and removing VMs, configuring motherboard settings.
Manipulating Disk controllers, drives and disk images
Manipluating Network Interface Cards
Working with VHD files
You can actually script a fair number of tasks in MS Virtual Server:
http://www.microsoft.com/technet/scriptcenter/scripts/vs/default.mspx?mfr=true
http://msdn.microsoft.com/en-us/library/aa368876(VS.85).aspx
Also Virtual PC guy has got a ton of stuff on his blog about scripting Virtual Server/PC and now Hyper-V here:
http://blogs.msdn.com/virtual_pc_guy/default.aspx
VMware has similar capabilities:
http://www.vmware.com/support/developer/scripting-API/