Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed ubuntu 12-04 virtually using oracle virtual box. I have installed jdk on windows. Is it possible to use the same jdk for ubuntu or i will have to install jdk seperatley for ubuntu?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Windows executables don't run natively on Linux platform. You can try to execute them with wine once you have shared the JDK directory of Windows with the Virtual Machine, but that'd again require you to install wine on the Ubuntu VM, so why not install the OpenJDK from Ubuntu Software centre or the Oracle's JDK for Linux instead in Ubuntu?

share|improve this answer
    
Thanks for the response :) –  baig772 Jun 5 '12 at 10:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.