Hello everybody,
I didn't know where to create this thread whether here in this section or in the programming section...
let's get to the point. I'm creating a java application on my mac using NetBeans IDE but I have to connect the NetBeans application to a database (Oracle Express) and as Oracle Express is not available for OS X I had to install it a VM using Parallels on Windows 7
and the question is that if the database was on the same OS as the one i'm creating the app on (in our case the Mac OS X) i would put this line of code to the app to locate the database (this line is gonna be inside the "DatabaseManager.java" class responsible for the connection)
String url = "jdbc: oracle:thin
127.0.0.1:1521:XE";
but then what would the value of the variable "url" have to be if the database is on a windows 7 VM (Virtual Machine) on Parallels
thank you in advance and any help is appreciated
but please don't tell me to get a Windows PC
I didn't know where to create this thread whether here in this section or in the programming section...
let's get to the point. I'm creating a java application on my mac using NetBeans IDE but I have to connect the NetBeans application to a database (Oracle Express) and as Oracle Express is not available for OS X I had to install it a VM using Parallels on Windows 7
and the question is that if the database was on the same OS as the one i'm creating the app on (in our case the Mac OS X) i would put this line of code to the app to locate the database (this line is gonna be inside the "DatabaseManager.java" class responsible for the connection)
String url = "jdbc: oracle:thin
but then what would the value of the variable "url" have to be if the database is on a windows 7 VM (Virtual Machine) on Parallels
thank you in advance and any help is appreciated
but please don't tell me to get a Windows PC